[GTKUI] [OSX] Fix empty scrolling status (systray) menu
* Same issue as seen on Windows in #302
This commit is contained in:
parent
d7e6afb01e
commit
f131194b75
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue