[GTKUI] [OSX] Fix empty scrolling status (systray) menu

* Same issue as seen on Windows in #302
This commit is contained in:
Calum Lind 2015-09-25 23:44:35 +01:00
parent d7e6afb01e
commit f131194b75
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ class SystemTray(component.Component):
self.tray_glade.get_widget("menuitem_show_deluge").set_active(False) self.tray_glade.get_widget("menuitem_show_deluge").set_active(False)
popup_function = gtk.status_icon_position_menu popup_function = gtk.status_icon_position_menu
if deluge.common.windows_check(): if deluge.common.windows_check() or deluge.common.osx_check():
popup_function = None popup_function = None
button = 0 button = 0
self.tray_menu.popup(None, None, popup_function, self.tray_menu.popup(None, None, popup_function,