shortcuts: Separate gestures in search results

Gestures where shown separately from other shortcuts in the search
results before. This restores that behaviour.

https://bugzilla.gnome.org/show_bug.cgi?id=760097
This commit is contained in:
Felix Riemann 2016-01-03 15:32:38 +01:00
parent bd4b3091f6
commit daa08862ff

View File

@ -237,7 +237,10 @@ gtk_shortcuts_window_add_search_item (GtkWidget *child, gpointer data)
keywords = g_utf8_strdown (str, -1);
g_hash_table_insert (priv->keywords, item, keywords);
gtk_container_add (GTK_CONTAINER (priv->search_shortcuts), item);
if (shortcut_type == GTK_SHORTCUT_ACCELERATOR)
gtk_container_add (GTK_CONTAINER (priv->search_shortcuts), item);
else
gtk_container_add (GTK_CONTAINER (priv->search_gestures), item);
g_free (title);
g_free (accelerator);