Fix Windows tray submenu items requiring right-click instead of left-click

This commit is contained in:
Calum Lind 2012-11-26 13:31:41 +00:00
parent 901f5a84bf
commit 16568404e7
1 changed files with 1 additions and 0 deletions

View File

@ -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)