Fix Windows tray submenu items requiring right-click instead of left-click
This commit is contained in:
parent
901f5a84bf
commit
16568404e7
|
@ -349,6 +349,7 @@ class SystemTray(component.Component):
|
||||||
popup_function = gtk.status_icon_position_menu
|
popup_function = gtk.status_icon_position_menu
|
||||||
if deluge.common.windows_check():
|
if deluge.common.windows_check():
|
||||||
popup_function = None
|
popup_function = None
|
||||||
|
button = 0
|
||||||
self.tray_menu.popup(None, None, popup_function,
|
self.tray_menu.popup(None, None, popup_function,
|
||||||
button, activate_time, status_icon)
|
button, activate_time, status_icon)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue