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

svn: r19318
This commit is contained in:
John Ralls 2012-04-13 19:53:15 +00:00
parent b3b03d4d2b
commit 3eb232c1a9

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