summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-01-28 18:21:18 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-01-28 18:21:18 -0500
commite31e88582f280917fa79ca201f59dbabe994fdc6 (patch)
treed78e060e5553c67d1bf6321313456a94131422b7
parenta385ca1bb75a5fad0937146b1f59386a0d0fb4c4 (diff)
downloadgtk+-e31e88582f280917fa79ca201f59dbabe994fdc6.tar.gz
file chooser: Unify search mode leaving
Make all ways to get out of search mode go through the same code path, so we always populate the list.
-rw-r--r--gtk/gtkfilechooserwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 70aaf69242..d6c02025bf 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -6271,7 +6271,7 @@ search_entry_activate_cb (GtkFileChooserWidget *impl)
static void
search_entry_stop_cb (GtkFileChooserWidget *impl)
{
- operation_mode_set (impl, OPERATION_MODE_BROWSE);
+ g_object_set (impl, "search-mode", FALSE, NULL);
}
/* Hides the path bar and creates the search entry */