[recipes] Don't leave spiciness tags behind in queries
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Don't leave spiciness tags behind in queries
- Date: Tue, 14 Mar 2017 19:08:24 +0000 (UTC)
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]