summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserwidget.c
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2022-10-26 13:40:27 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2022-12-13 14:45:15 -0300
commit1464289710b070186ee2fb9001a03fed5a8a19d6 (patch)
treefac81d7ec79f4496d3b7c2b0961433091194c842 /gtk/gtkfilechooserwidget.c
parent72c676aecba7c756069d8168b4bcf672dd6dd3b5 (diff)
downloadgtk+-1464289710b070186ee2fb9001a03fed5a8a19d6.tar.gz
filechooserwidget: Show pathbar in recent mode
As per design direction, show the pathbar in recent mode.
Diffstat (limited to 'gtk/gtkfilechooserwidget.c')
-rw-r--r--gtk/gtkfilechooserwidget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 53875ecea1..e431af541f 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -2809,13 +2809,14 @@ operation_mode_set_recent (GtkFileChooserWidget *impl)
old_revealer_transition_type = gtk_revealer_get_transition_type (GTK_REVEALER (impl->browse_header_revealer));
gtk_revealer_set_transition_type (GTK_REVEALER (impl->browse_header_revealer),
GTK_REVEALER_TRANSITION_TYPE_NONE);
- gtk_revealer_set_reveal_child (GTK_REVEALER (impl->browse_header_revealer), FALSE);
+ gtk_revealer_set_reveal_child (GTK_REVEALER (impl->browse_header_revealer), TRUE);
gtk_revealer_set_transition_type (GTK_REVEALER (impl->browse_header_revealer),
old_revealer_transition_type);
location_bar_update (impl);
recent_start_loading (impl);
file = g_file_new_for_uri ("recent:///");
+ _gtk_path_bar_set_file (GTK_PATH_BAR (impl->browse_path_bar), file, FALSE);
gtk_places_sidebar_set_location (GTK_PLACES_SIDEBAR (impl->places_sidebar), file);
g_object_notify (G_OBJECT (impl), "subtitle");
g_object_unref (file);