2007-05-12 Ross Burton <ross@openedhand.com>
* shell/main.c:
Sync keybindings manually when building without libgnome
(#437925).
svn path=/trunk/; revision=2452
+2007-05-12 Ross Burton <ross@openedhand.com>
+
+ * shell/main.c:
+ Sync keybindings manually when building without libgnome
+ (#437925).
+
2007-05-12 Ross Burton <ross@openedhand.com>
* shell/ev-window.c:
#if WITH_GNOME
GnomeProgram *program;
#else
+ char *accel_filename;
GError *error = NULL;
#endif
g_option_context_free (context);
gnome_vfs_init ();
+
+ accel_filename = g_build_filename (ev_dot_dir (), "accels", NULL);
+ gtk_accel_map_load (accel_filename);
#endif
args = arguments_parse ();
#if WITH_GNOME
gnome_accelerators_sync ();
+#else
+ gtk_accel_map_save (accel_filename);
+ g_free (accel_filename);
#endif
ev_file_helpers_shutdown ();