Load a menu accelerator map named gramps.accel if such a file exists in const.DATA_DIR
svn: r19318
This commit is contained in:
parent
b3b03d4d2b
commit
3eb232c1a9
@ -329,4 +329,6 @@ def startgtkloop(errors, argparser):
|
||||
gobject.threads_init()
|
||||
|
||||
gobject.timeout_add(100, __startgramps, errors, argparser, priority=100)
|
||||
if os.path.exists(os.path.join(const.DATA_DIR, "gramps.accel")):
|
||||
gtk.accel_map_load(os.path.join(const.DATA_DIR, "gramps.accel"))
|
||||
gtk.main()
|
||||
|
Loading…
Reference in New Issue
Block a user