[Xfce4-commits] [panel-plugins/xfce4-statusnotifier-plugin] 02/04: Right click opens menu even if item doesn't support activation
noreply at xfce.org
noreply at xfce.org
Sat Aug 5 21:17:11 CEST 2017
This is an automated email from the git hooks/post-receive script.
n i n e t l s p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-statusnotifier-plugin.
commit 68f26a33247afb8005e4a7dc68ed6d3c20b3aa10
Author: Viktor Odintsev <ninetls at xfce.org>
Date: Fri Aug 4 07:39:20 2017 +0300
Right click opens menu even if item doesn't support activation
---
panel-plugin/sn-button.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/panel-plugin/sn-button.c b/panel-plugin/sn-button.c
index a243310..f43e94e 100644
--- a/panel-plugin/sn-button.c
+++ b/panel-plugin/sn-button.c
@@ -239,7 +239,7 @@ sn_button_button_press (GtkWidget *widget,
return FALSE;
}
- if (event->button == 3 && (button->menu_only || menu_is_primary))
+ if (event->button == 3 && menu_is_primary)
{
/* menu is available by left click, so show the panel menu instead */
return FALSE;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list