Bug 721667 - Accelerator key map loaded from one file and saved

to a different one which is ignored

So don't save it if using MAC_INTEGRATION. Changing accels on the
fly doesn't work with Mac menus anyway.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23679 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
John Ralls 2014-01-10 23:16:59 +00:00
parent 5e4fbfe8c3
commit 156bda112c

View File

@ -748,11 +748,11 @@ gnc_gui_shutdown (void)
if (gnome_is_running && !gnome_is_terminating)
{
gnome_is_terminating = TRUE;
#ifndef MAC_INTEGRATION
map = gnc_build_dotgnucash_path(ACCEL_MAP_NAME);
gtk_accel_map_save(map);
g_free(map);
#endif /* MAC_INTEGRATION */
gtk_main_quit();
}
}