Merge branch 'no-emoji-insert' into 'main'

text: Respect no-emoji hint fully

See merge request GNOME/gtk!4972
This commit is contained in:
Matthias Clasen 2022-08-21 20:47:27 +00:00
commit 092c166f54

View File

@ -1487,13 +1487,13 @@ gtk_text_class_init (GtkTextClass *class)
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);
/* Undo/Redo */