When right clicking to open a context menu, pass the event on (which selects the...
authorRené Stadler <mail@renestadler.de>
Tue, 11 Dec 2007 08:44:20 +0000 (10:44 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 11 Sep 2014 18:51:43 +0000 (20:51 +0200)
debug-viewer/GstDebugViewer/Common/GUI.py

index a4ddeb2..c9e6008 100644 (file)
@@ -36,9 +36,7 @@ def widget_add_popup_menu (widget, menu, button = 3):
 
         if event.button == button:
             menu.popup (None, None, None, event.button, event.get_time ())
-            return True
-        else:
-            return False
+        return False
 
     widget.connect ("button-press-event", popup_callback)