After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 348660 - Return of 0.14's customized keyboard accel mapping
Return of 0.14's customized keyboard accel mapping
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-1.0 betas
Other All
: Normal minor
: 1.0
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2006-07-25 16:23 UTC by Duncan
Modified: 2006-07-25 22:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch against 0.104 to fix. (1.08 KB, patch)
2006-07-25 22:00 UTC, Charles Kerr
none Details | Review

Description Duncan 2006-07-25 16:23:45 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:
Comment 1 Charles Kerr 2006-07-25 20:15:52 UTC
Christophe: is there a mechanism for overriding the
accelerators of GtkActions similar to the you did
it in the C version of Pan?
Comment 2 Charles Kerr 2006-07-25 21:59:44 UTC
Shit, it's ridiculously easy. :)
Comment 3 Charles Kerr 2006-07-25 22:00:20 UTC
Created attachment 69612 [details] [review]
patch against 0.104 to fix.
Comment 4 Christophe Lambin 2006-07-25 22:20:30 UTC
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 ?


Comment 5 Charles Kerr 2006-07-25 22:58:41 UTC
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.