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.
This commit is contained in:
Matthias Clasen 2015-01-28 18:21:18 -05:00
parent a385ca1bb7
commit e31e88582f

View File

@ -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 */