[gtk/filechooser-cancel-search] filechooser: Don't open in search mode
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/filechooser-cancel-search] filechooser: Don't open in search mode
- Date: Sun, 2 Aug 2020 03:47:10 +0000 (UTC)
commit 1e78b32b57941098eeff4162c018e7c8dbd3f901
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 1 23:46:05 2020 -0400
filechooser: Don't open in search mode
When the filechooser is mapped, ensure that
search-mode is FALSE.
Fixes: #2976
gtk/gtkfilechooserwidget.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 3509cf7cf7..f79db9de42 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -3470,6 +3470,8 @@ gtk_file_chooser_widget_map (GtkWidget *widget)
add_cwd_to_sidebar_if_needed (impl);
+ g_object_set (impl, "search-mode", FALSE, NULL);
+
if (impl->operation_mode == OPERATION_MODE_BROWSE)
{
switch (impl->reload_state)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]