[nautilus/places-sidebar] Update to set_location()/get_location() API in the sidebar



commit ca282a259eac15bd0e530d434e20d44d84713f93
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Jan 10 18:10:34 2013 -0600

    Update to set_location()/get_location() API in the sidebar
    
    Signed-off-by: Federico Mena Quintero <federico gnome org>

 src/nautilus-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 382b5d3..2574f9c 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -663,7 +663,7 @@ window_loading_uri_cb (NautilusWindow *window,
 		GFile *file;
 
 		file = g_file_new_for_uri (location);
-		gtk_places_sidebar_set_current_location (GTK_PLACES_SIDEBAR (window->details->places_sidebar), file);
+		gtk_places_sidebar_set_location (GTK_PLACES_SIDEBAR (window->details->places_sidebar), file);
 		g_object_unref (file);
 	}
 }
@@ -688,7 +688,7 @@ properties_cb (GtkMenuItem *item,
 	GList *list;
 	NautilusFile *file;
 
-	selected = gtk_places_sidebar_get_selected_location (GTK_PLACES_SIDEBAR (window->details->places_sidebar));
+	selected = gtk_places_sidebar_get_location (GTK_PLACES_SIDEBAR (window->details->places_sidebar));
 	file = nautilus_file_get (selected);
 	g_object_unref (selected);
 



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