Load a menu accelerator map named gramps.accel if such a file exists in const.DATA_DIR

svn: r19319
This commit is contained in:
John Ralls 2012-04-13 19:55:56 +00:00
parent 5c3cece884
commit df068471bb

View File

@ -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()