GNOME Bugzilla – Bug 563250
Save and restore custom composer accelerators
Last modified: 2008-12-10 11:55:59 UTC
Still learning new things about GTK... Now that the composer is using GtkUIManager for menus, it's now possible to edit menu accelerators on the fly (if the GNOME setting is enabled). That much I knew. What I didn't know is the application is reponsible for loading and saving those custom accelerators, otherwise the customizations won't survive beyond the current Evolution session. The solution to this is gtk_accel_map_load() and gtk_accel_map_save(). Note: This will be applicable to the rest of Evolution once Bonobo is gone.
Other applications save their accelerator maps to ~/.gnome2/accels. I assume that's still the standard location for now. Eventually I expect them to move under ~/.config.
Created attachment 123977 [details] [review] Proposed patch This should also cover the CompEditor subclasses. Of course the _real_ fun begins on the kill-bonobo branch...
Awesome. Go to trunk/stable. [I dont feel this is a str/ui break]
Agreed. Committed to trunk (rev 36864) and gnome-2-24 (rev 36865).