Index: nautilus-2.16.3/src/nautilus-places-sidebar.c
===================================================================
--- nautilus-2.16.3.orig/src/nautilus-places-sidebar.c	2006-09-14 10:24:30.000000000 +0200
+++ nautilus-2.16.3/src/nautilus-places-sidebar.c	2007-01-03 00:29:53.000000000 +0100
@@ -453,9 +453,7 @@
 }
 
 static void
-row_activated_callback (GtkTreeView *tree_view,
-			GtkTreePath *path,
-			GtkTreeViewColumn *column,
+cursor_changed_callback (GtkTreeView *tree_view,
 			gpointer user_data)
 {
 	NautilusPlacesSidebar *sidebar;
@@ -464,11 +462,8 @@
 	char *uri;
 	
 	sidebar = NAUTILUS_PLACES_SIDEBAR (user_data);
-	model = gtk_tree_view_get_model (tree_view);
-	
-	if (!gtk_tree_model_get_iter (model, &iter, path)) {
-		return;
-	}
+
+	gtk_tree_selection_get_selected(gtk_tree_view_get_selection(tree_view), &model, &iter);
 
 	gtk_tree_model_get 
 		(model, &iter, PLACES_SIDEBAR_COLUMN_URI, &uri, -1);
@@ -1543,8 +1538,8 @@
 	gtk_tree_selection_set_mode (selection, GTK_SELECTION_BROWSE);
 
 	g_signal_connect_object
-		(tree_view, "row_activated", 
-		 G_CALLBACK (row_activated_callback), sidebar, 0);
+		(tree_view, "cursor_changed", 
+		 G_CALLBACK (cursor_changed_callback), sidebar, 0);
 
 
 	gtk_tree_view_enable_model_drag_source (GTK_TREE_VIEW (tree_view),
