file chooser: Update sidsebar when entry goes away
authorMatthias Clasen <mclasen@redhat.com>
Sat, 27 Jun 2015 02:13:33 +0000 (22:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 4 Jul 2015 04:29:24 +0000 (00:29 -0400)
gtk/gtkfilechooserwidget.c

index 064c2580318679a333a792222464283adb42e444..5b13265a03ebffeb6a93868ae0ba7521ff239878 100644 (file)
@@ -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