[nautilus] pathbar: do not unconditionally bubble up button-press-event
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] pathbar: do not unconditionally bubble up button-press-event
- Date: Sat, 24 Aug 2013 15:42:18 +0000 (UTC)
commit 0f30343e9a13518c346d26378c9651723245338c
Author: Stefano Facchini <stefano facchini gmail com>
Date: Fri Aug 23 16:28:17 2013 +0200
pathbar: do not unconditionally bubble up button-press-event
https://bugzilla.gnome.org/show_bug.cgi?id=706605
src/nautilus-pathbar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index 2d153d4..f722701 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -1280,7 +1280,7 @@ button_event_cb (GtkWidget *button,
g_signal_emit (path_bar, path_bar_signals [PATH_EVENT], 0, button_data->path, event);
- return FALSE;
+ return (event->button != GDK_BUTTON_PRIMARY);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]