mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Fix get_deluge_icon
This commit is contained in:
parent
4cfa6485d7
commit
a14f4f6869
1 changed files with 2 additions and 3 deletions
|
@ -215,13 +215,12 @@ def get_deluge_icon():
|
|||
that is distributed with the package.
|
||||
|
||||
"""
|
||||
import deluge.common
|
||||
if deluge.common.windows_check():
|
||||
return deluge.common.get_logo(32)
|
||||
return get_logo(32)
|
||||
else:
|
||||
try:
|
||||
icon_theme = gtk.icon_theme_get_default()
|
||||
return icon_theme.load_icon("deluge", 32, 0)
|
||||
except:
|
||||
return deluge.common.get_logo(32)
|
||||
return get_logo(32)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue