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 699891 - Support for Primary keybinding in builder XML
Support for Primary keybinding in builder XML
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkBuilder
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GtkBuilder maintainers
GtkBuilder maintainers
Depends on:
Blocks: 697687
 
 
Reported: 2013-05-07 23:14 UTC by Eric Gregory
Modified: 2016-03-06 04:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eric Gregory 2013-05-07 23:14:34 UTC
Glade has an issue where it's not possible to bind to the Primary key (i.e. the magic keybinding that switches between Ctrl and Command.)  This is ticketed at #697687

Glade rockstar Tristan confirms that this needs to be fixed in GtkBuilder before it can be fixed in Glade.  For Tristan's thoughts, check this post on the mailing list:
http://lists.ximian.com/pipermail/glade-users/2013-May/005631.html

IMO the nicest way to solve this would be to allow symbolic key names in the XML.  That way it's a little more readable, and the code for interpreting symbolic key bindings can be reused here.