mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
textview: Respect editability for Emoji
Switch the Emoji chooser keybinding to use the action, so that disabling the action has the desired effect.
This commit is contained in:
parent
e80238120e
commit
f66172451d
@ -1863,13 +1863,13 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
|
||||
NULL);
|
||||
|
||||
/* Emoji */
|
||||
gtk_widget_class_add_binding_signal (widget_class,
|
||||
gtk_widget_class_add_binding_action (widget_class,
|
||||
GDK_KEY_period, GDK_CONTROL_MASK,
|
||||
"insert-emoji",
|
||||
"misc.insert-emoji",
|
||||
NULL);
|
||||
gtk_widget_class_add_binding_signal (widget_class,
|
||||
gtk_widget_class_add_binding_action (widget_class,
|
||||
GDK_KEY_semicolon, GDK_CONTROL_MASK,
|
||||
"insert-emoji",
|
||||
"misc.insert-emoji",
|
||||
NULL);
|
||||
|
||||
/* Caret mode */
|
||||
|
Loading…
Reference in New Issue
Block a user