From 29a2daf41a15db9d9db06a4ba9c55d271cbecdcb Mon Sep 17 00:00:00 2001 From: alexandervdm Date: Fri, 16 May 2014 18:12:49 +0200 Subject: propagate button-release event when ejecting, fixes #169 See also gnome bug https://bugzilla.gnome.org/show_bug.cgi?id=646302 --- src/caja-places-sidebar.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/caja-places-sidebar.c b/src/caja-places-sidebar.c index d176ad45..0e1ce9c4 100644 --- a/src/caja-places-sidebar.c +++ b/src/caja-places-sidebar.c @@ -2789,7 +2789,6 @@ bookmarks_button_release_event_cb (GtkWidget *widget, GtkTreePath *path; GtkTreeModel *model; GtkTreeView *tree_view; - gboolean ret; path = NULL; @@ -2800,9 +2799,9 @@ bookmarks_button_release_event_cb (GtkWidget *widget, if (clicked_eject_button (sidebar, &path)) { - ret = eject_or_unmount_bookmark (sidebar, path); + eject_or_unmount_bookmark (sidebar, path); gtk_tree_path_free (path); - return ret; + return FALSE; } tree_view = GTK_TREE_VIEW (widget); -- cgit v1.2.1