[nautilus/places-sidebar] Oops, use the correct struct field



commit 7ec802e8293663463ae44461991864271779e079
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Jan 8 16:26:05 2013 -0600

    Oops, use the correct struct field

 src/nautilus-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index cda90a7..697079f 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -689,7 +689,7 @@ open_shortcut_in_new_tab_cb (GtkMenuItem *item,
 	NautilusWindow *window = NAUTILUS_WINDOW (user_data);
 	GFile *location;
 
-	location = gtk_places_sidebar_get_selected_location (GTK_PLACES_SIDEBAR (window->details->sidebar));
+	location = gtk_places_sidebar_get_selected_location (GTK_PLACES_SIDEBAR (window->details->places_sidebar));
 	if (location)
 		nautilus_window_slot_open_location (window->details->active_slot, location, NAUTILUS_WINDOW_OPEN_FLAG_NEW_TAB);
 



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