mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
When right clicking to open a context menu, pass the event on (which selects the row)
This commit is contained in:
parent
ca40c5e58a
commit
e3d2cfb035
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue