diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2013-09-09 15:23:48 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2013-09-09 15:26:13 +0800 |
commit | b6602f5c5b2bef6862c103e781a3be6a76749ba3 (patch) | |
tree | 7344e44e9734c2239260c2bc9db5c1c34c9e37ee /src/ephy-navigation-history-action.c | |
parent | 030d8569b212e65ad6f93d6f7f09a06972172202 (diff) | |
download | gsoc2013-epiphany-b6602f5c5b2bef6862c103e781a3be6a76749ba3.tar gsoc2013-epiphany-b6602f5c5b2bef6862c103e781a3be6a76749ba3.tar.gz gsoc2013-epiphany-b6602f5c5b2bef6862c103e781a3be6a76749ba3.tar.bz2 gsoc2013-epiphany-b6602f5c5b2bef6862c103e781a3be6a76749ba3.tar.lz gsoc2013-epiphany-b6602f5c5b2bef6862c103e781a3be6a76749ba3.tar.xz gsoc2013-epiphany-b6602f5c5b2bef6862c103e781a3be6a76749ba3.tar.zst gsoc2013-epiphany-b6602f5c5b2bef6862c103e781a3be6a76749ba3.zip |
actions: fix return value for button press events that pop up menus
Otherwise the GTK+ will pop up the menu from the WM actions.
https://bugzilla.gnome.org/show_bug.cgi?id=707721
Diffstat (limited to 'src/ephy-navigation-history-action.c')
-rw-r--r-- | src/ephy-navigation-history-action.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ephy-navigation-history-action.c b/src/ephy-navigation-history-action.c index dec229011..4f7f1c90e 100644 --- a/src/ephy-navigation-history-action.c +++ b/src/ephy-navigation-history-action.c @@ -651,10 +651,11 @@ tool_button_press_event_cb (GtkButton *button, (GSourceFunc) menu_timeout_cb, data, (GDestroyNotify) g_free); - } else if (event->button == 3) + return FALSE; + } else if (event->button == 3) { popup_history_menu (action, GTK_WIDGET (button), event); - - return FALSE; + return TRUE; + } } static gboolean |