[GTKUI] Restore removed os_check for systray icon

status_icon_new_from_icon_name does not work on OSX
This commit is contained in:
Calum Lind 2017-06-26 22:04:42 +01:00
parent 3174c7534d
commit 1808ac506a

View file

@ -98,7 +98,7 @@ class SystemTray(component.Component):
else:
log.debug('Enabling the system tray icon..')
if windows_check():
if windows_check() or osx_check():
self.tray = status_icon_new_from_pixbuf(get_logo(32))
else:
self.tray = status_icon_new_from_icon_name('deluge')