[nautilus] tree-sidebar: don't block the parent handler when popping up a menu



commit 7fe6d3d2a4fe48d58afba8c0ee8e40fe60c5d63b
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Sep 10 21:45:30 2011 -0400

    tree-sidebar: don't block the parent handler when popping up a menu
    
    Otherwise the treeview will not select the row where the event happened.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=601725

 src/nautilus-tree-sidebar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-tree-sidebar.c b/src/nautilus-tree-sidebar.c
index f441210..a70d6db 100644
--- a/src/nautilus-tree-sidebar.c
+++ b/src/nautilus-tree-sidebar.c
@@ -777,7 +777,7 @@ button_pressed_callback (GtkTreeView *treeview, GdkEventButton *event,
 		gtk_tree_view_set_cursor (view->details->tree_widget, cursor_path, NULL, FALSE);
 		gtk_tree_path_free (cursor_path);
 
-		return TRUE;
+		return FALSE;
 	} else if (event->button == 2 && event->type == GDK_BUTTON_PRESS) {
 		NautilusFile *file;
 		NautilusWindowOpenFlags flags = 0;



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