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 733292 - GtkApplication: Add a way to disable all accelerators
GtkApplication: Add a way to disable all accelerators
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Class: GtkApplication
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks: 731933
 
 
Reported: 2014-07-17 05:23 UTC by Matthias Clasen
Modified: 2014-07-25 19:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GtkApplication: Add a way to disable all accelerators (4.28 KB, patch)
2014-07-17 05:23 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2014-07-17 05:23:54 UTC
This is useful, e.g. in gnome-terminal, where accelerators may
interfere with an app that is running inside the terminal.
Comment 1 Matthias Clasen 2014-07-17 05:23:58 UTC
Created attachment 280917 [details] [review]
GtkApplication: Add a way to disable all accelerators
Comment 2 Matthias Clasen 2014-07-21 14:05:33 UTC
Actually, 

g_object_set (gtk_settings_get_default (), "gtk-enable-accels", FALSE, NULL);

already works fine for this purpose, it seems.