1
0
Fork 0

text: Bind <ctrl>A in addition to <ctrl>a

The 'select-all' action is currently only bound to <ctrl>a, which makes
it awkward to use when caps-lock is active, and is inconsistent with GTK+.
Just accept both upper- and lower-case variants.

https://bugzilla.gnome.org/show_bug.cgi?id=766326
This commit is contained in:
Florian Müllner 2016-05-12 15:25:43 +02:00
parent f8eb05ca6d
commit 434f22e820

View file

@ -4044,6 +4044,10 @@ clutter_text_class_init (ClutterTextClass *klass)
CLUTTER_KEY_a, CLUTTER_CONTROL_MASK,
G_CALLBACK (clutter_text_real_select_all),
NULL, NULL);
clutter_binding_pool_install_action (binding_pool, "select-all",
CLUTTER_KEY_A, CLUTTER_CONTROL_MASK,
G_CALLBACK (clutter_text_real_select_all),
NULL, NULL);
clutter_binding_pool_install_action (binding_pool, "delete-next",
CLUTTER_KEY_Delete, 0,