[recipes] Don't leave spiciness tags behind in queries



commit 3fb11bda7759c9b327048f9a0e40b8d514abf2c8
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Mar 14 15:06:39 2017 -0400

    Don't leave spiciness tags behind in queries
    
    We were forgetting to clear spiciness tags together
    with the other search tags. Fix that.

 src/gr-query-editor.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-query-editor.c b/src/gr-query-editor.c
index 7ab6bce..90633ad 100644
--- a/src/gr-query-editor.c
+++ b/src/gr-query-editor.c
@@ -945,6 +945,15 @@ clear_tags (GrQueryEditor *editor)
         }
         g_list_free (children);
 
+        children = gtk_container_get_children (GTK_CONTAINER (editor->spice_list));
+        for (l = children; l; l = l->next) {
+                GtkWidget *row = l->data;
+                if (!GR_IS_SPICE_ROW (row))
+                        continue;
+                g_object_set (row, "include", FALSE, NULL);
+        }
+        g_list_free (children);
+
         children = gtk_container_get_children (GTK_CONTAINER (editor->diet_list));
         for (l = children; l; l = l->next) {
                 GtkWidget *row = l->data;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]