[GTK] Fix systray popup TypeError

An incorrect number of arguments supplied to GtkMenu.popup
This commit is contained in:
Calum Lind 2018-11-06 10:47:17 +00:00
parent 9f9f564e62
commit 39783c7703

View file

@ -354,7 +354,7 @@ class SystemTray(component.Component):
popup_function = None
button = 0
self.tray_menu.popup(
None, None, None, popup_function, status_icon, button, activate_time
None, None, popup_function, status_icon, button, activate_time
)
def on_menuitem_show_deluge_activate(self, menuitem):