mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +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,8 +36,6 @@ 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
|
||||
|
||||
widget.connect ("button-press-event", popup_callback)
|
||||
|
|
Loading…
Reference in a new issue