[recipes] Clear the filter entry in the search popover on hide
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Clear the filter entry in the search popover on hide
- Date: Mon, 26 Dec 2016 03:07:46 +0000 (UTC)
commit 25f06b66f9adaae23a4b9f4cd1002f7aca46d443
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Dec 25 19:01:50 2016 -0500
Clear the filter entry in the search popover on hide
Otherwise, we unexpectedly see old search terms there
the next time the filter is opened again.
src/gr-query-editor.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-query-editor.c b/src/gr-query-editor.c
index f960b5b..289962c 100644
--- a/src/gr-query-editor.c
+++ b/src/gr-query-editor.c
@@ -137,6 +137,7 @@ static void
hide_ingredients_search_list (GrQueryEditor *self,
gboolean animate)
{
+ gtk_entry_set_text (GTK_ENTRY (self->ing_filter_entry), "");
gtk_widget_show (self->ing_search_button);
if (!animate)
gtk_revealer_set_transition_type (GTK_REVEALER (self->ing_search_revealer),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]