From: Matthias Clasen Date: Sat, 27 Jun 2015 02:13:33 +0000 (-0400) Subject: file chooser: Update sidsebar when entry goes away X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~24^2~9200 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=140a157d474c282249ca8c418dbfb134a9f9743c;p=gtk4.git file chooser: Update sidsebar when entry goes away --- diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 064c258031..5b13265a03 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -2135,6 +2135,8 @@ location_switch_to_path_bar (GtkFileChooserWidget *impl) } gtk_stack_set_visible_child_name (GTK_STACK (priv->browse_header_stack), "pathbar"); + + gtk_places_sidebar_set_location (GTK_PLACES_SIDEBAR (priv->places_sidebar), priv->current_folder); } /* Turns on the location entry. Can be called even if we are already in that