From e3d2cfb03599a671ca66403e20f007bc55b5b998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stadler?= Date: Tue, 11 Dec 2007 10:44:20 +0200 Subject: [PATCH] When right clicking to open a context menu, pass the event on (which selects the row) --- debug-viewer/GstDebugViewer/Common/GUI.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/debug-viewer/GstDebugViewer/Common/GUI.py b/debug-viewer/GstDebugViewer/Common/GUI.py index a4ddeb2514..c9e60085ea 100644 --- a/debug-viewer/GstDebugViewer/Common/GUI.py +++ b/debug-viewer/GstDebugViewer/Common/GUI.py @@ -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)