mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 00:48:41 +00:00
[GTKUI] Restore removed os_check for systray icon
status_icon_new_from_icon_name does not work on OSX
This commit is contained in:
parent
3174c7534d
commit
1808ac506a
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class SystemTray(component.Component):
|
||||||
|
|
||||||
else:
|
else:
|
||||||
log.debug('Enabling the system tray icon..')
|
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))
|
self.tray = status_icon_new_from_pixbuf(get_logo(32))
|
||||||
else:
|
else:
|
||||||
self.tray = status_icon_new_from_icon_name('deluge')
|
self.tray = status_icon_new_from_icon_name('deluge')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue