forked from AuroraMiddleware/gtk
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:
parent
a385ca1bb7
commit
e31e88582f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user