From e31e88582f280917fa79ca201f59dbabe994fdc6 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 28 Jan 2015 18:21:18 -0500 Subject: [PATCH] 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. --- gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */