mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
emoji: Start search on the first character
There is no need to wait for a longer prefix here. We already display all the content anyway, it will only get less.
This commit is contained in:
parent
50453d44bc
commit
fd4fa7be29
@ -381,7 +381,7 @@ filter_func (GtkFlowBoxChild *child,
|
||||
text = gtk_entry_get_text (GTK_ENTRY (chooser->search_entry));
|
||||
emoji_data = (GVariant *) g_object_get_data (G_OBJECT (child), "emoji-data");
|
||||
|
||||
if (text[0] == 0 || text[1] == 0)
|
||||
if (text[0] == 0)
|
||||
goto out;
|
||||
|
||||
if (!emoji_data)
|
||||
|
Loading…
Reference in New Issue
Block a user