GNOME Bugzilla – Bug 348660
Return of 0.14's customized keyboard accel mapping
Last modified: 2006-07-25 22:58:41 UTC
One of the great things about pre-0.9x pan was the customizable keyboard accels. I'd love to have that back, for 1.1 if not 1.0. =8^) Among other things, I mapped "r" to the toggle view-only-unread key. That's not likely to be used enough by many to warrant a hotkey, but it certainly did here, and customized accels provided me the ability to "make it so." There were certainly others, but that's the one I most often find myself hitting... only to realize it's not going to work any more. Other information:
Christophe: is there a mechanism for overriding the accelerators of GtkActions similar to the you did it in the C version of Pan?
Shit, it's ridiculously easy. :)
Created attachment 69612 [details] [review] patch against 0.104 to fix.
Only just saw this bugreport ... Hmm, shouldn't the call in GUI:GUI() be gtk_accel_map_load() ? :) If I remember correctly, that's all there is to it. The only thing that I can't remember if how to allow the user to change the accelerators by highlighting the action and hitting a new accel key. Wasn't that a change in ~/.gtkrc ?
gtk_accel_map_load: well, we only /really/ need that if we want the accels.txt file to be functional. Fixed, though IMO this brings up the point that Pan really, really needs to get into gnome cvs.