From 6bd93009eeb559c71d87dfce84a636941ad2152b 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 9ff2d0aa..c2fc9cd8 100644 --- a/src/caja-places-sidebar.c +++ b/src/caja-places-sidebar.c @@ -2690,7 +2690,6 @@ bookmarks_button_release_event_cb (GtkWidget *widget, GtkTreePath *path; GtkTreeModel *model; GtkTreeView *tree_view; - gboolean ret; path = NULL; @@ -2701,9 +2700,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