Commit 73506309 authored by Christian Hergert's avatar Christian Hergert
Browse files

sourceview: disable emoji-picker by default

We'll add them back in our various keybinding modes.
parent 70290854
......@@ -6662,6 +6662,11 @@ ide_source_view_class_init (IdeSourceViewClass *klass)
G_TYPE_BOOLEAN, TRUE,
G_TYPE_BOOLEAN, FALSE);
/* Remove Emoji from GtkTextView, we'll add back in various keybinding modes */
binding_set = gtk_binding_set_by_class (g_type_class_peek (GTK_TYPE_TEXT_VIEW));
gtk_binding_entry_remove (binding_set, GDK_KEY_period, GDK_CONTROL_MASK);
gtk_binding_entry_remove (binding_set, GDK_KEY_semicolon, GDK_CONTROL_MASK);
/*
* Escape is wired up by the GtkSourceCompletion by default. However, some
* keybindings may want to control that manually (such as Vim). Vim needs to
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment