mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-13 03:38:51 +00:00
Fix showing system tray icon in windows
This commit is contained in:
parent
2030ba5e84
commit
38fc6ba9e3
1 changed files with 9 additions and 5 deletions
|
@ -78,6 +78,10 @@ class SystemTray(component.Component):
|
|||
pkg_resources.resource_filename("deluge.ui.gtkui",
|
||||
"glade/tray_menu.glade"))
|
||||
|
||||
if deluge.common.windows_check():
|
||||
self.tray = gtk.status_icon_new_from_pixbuf(
|
||||
deluge.common.get_logo(32))
|
||||
else:
|
||||
try:
|
||||
self.tray = gtk.status_icon_new_from_icon_name("deluge")
|
||||
except:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue