mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
[GTKUI] [OSX] Fix empty scrolling status (systray) menu
* Same issue as seen on Windows in #302
This commit is contained in:
parent
24b8baf8cc
commit
a26101d6b9
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ class SystemTray(component.Component):
|
||||||
self.builder.get_object("menuitem_show_deluge").set_active(False)
|
self.builder.get_object("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, button, activate_time, status_icon)
|
self.tray_menu.popup(None, None, popup_function, button, activate_time, status_icon)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue