Commit daa08862 authored by Felix Riemann's avatar Felix Riemann

shortcuts: Separate gestures in search results

Gestures where shown separately from other shortcuts in the search
results before. This restores that behaviour.
parent bd4b3091
......@@ -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);
gtk_container_add (GTK_CONTAINER (priv->search_gestures), item);
g_free (title);
g_free (accelerator);
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