mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
menu: port menu.popup calls
Add 1 extra arg.
This commit is contained in:
parent
66a6d948a6
commit
379e3970c6
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def widget_add_popup_menu (widget, menu, button = 3):
|
|||
def popup_callback (widget, event):
|
||||
|
||||
if event.button == button:
|
||||
menu.popup (None, None, None, event.button, event.get_time ())
|
||||
menu.popup (None, None, None, None, event.button, event.get_time ())
|
||||
return False
|
||||
|
||||
widget.connect ("button-press-event", popup_callback)
|
||||
|
|
Loading…
Reference in a new issue