Load a menu accelerator map named gramps.accel if such a file exists in const.DATA_DIR
svn: r19319
This commit is contained in:
parent
5c3cece884
commit
df068471bb
@ -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