[gtk+/wip/matthiasc/filechooser: 7/24] file chooser: Update sidsebar when entry goes away



commit 20e4d6ebb57556252282fcee9163e972534055c3
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jun 26 22:13:33 2015 -0400

    file chooser: Update sidsebar when entry goes away

 gtk/gtkfilechooserwidget.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 61ee109..18294c6 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]