Disable saving the gtk_accel_map

It seems that it only saves the loaded map entries and if the original
accelelerator-map file has commented out entries they are lost.
This commit is contained in:
Robert Fewell 2023-03-10 11:42:35 +00:00
parent 6a3013046f
commit cc5029bb4d

View File

@ -718,14 +718,14 @@ gnc_gui_destroy (void)
static void
gnc_gui_shutdown (void)
{
gchar *map;
// gchar *map;
if (gnome_is_running && !gnome_is_terminating)
{
gnome_is_terminating = TRUE;
map = gnc_build_userdata_path(ACCEL_MAP_NAME);
gtk_accel_map_save(map);
g_free(map);
// map = gnc_build_userdata_path(ACCEL_MAP_NAME);
// gtk_accel_map_save(map);
// g_free(map);
gnc_component_manager_shutdown ();
gtk_main_quit();
}