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 349198 - Unable to define accelerators on language highlighting menus
Unable to define accelerators on language highlighting menus
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
2.15.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-29 17:05 UTC by Steve Frécinaux
Modified: 2006-12-07 16:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.40 KB, patch)
2006-12-06 21:59 UTC, Steve Frécinaux
committed Details | Review

Description Steve Frécinaux 2006-07-29 17:05:39 UTC
When "editable menu accelerators" is on, the whole gedit menus but the syntax highlithing ones are editable. You can't set a custom accelerator on a particular syntax file.

Being able to do so would be handy for commonly used syntax files, like the C or the XML ones, or for commonly mistaken types (Ruby lovers know the .rhtml one). I see no reason why we shouldn't be able to edit those shortcuts.
Comment 1 Steve Frécinaux 2006-12-06 21:59:38 UTC
Created attachment 77860 [details] [review]
patch

This patches solves the bug by using gtk_action_group_add_action_with_accel with a NULL accelerator, since this functions sets the accel path and stuff, which is needed to be able to set custom accelerators.
Comment 2 Steve Frécinaux 2006-12-07 16:26:13 UTC
Fixed in the development version. The fix will be available in the next major release.