mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-19 22:58:30 +00:00
Fix get_deluge_icon
This commit is contained in:
parent
4cfa6485d7
commit
a14f4f6869
@ -215,13 +215,12 @@ def get_deluge_icon():
|
|||||||
that is distributed with the package.
|
that is distributed with the package.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
import deluge.common
|
|
||||||
if deluge.common.windows_check():
|
if deluge.common.windows_check():
|
||||||
return deluge.common.get_logo(32)
|
return get_logo(32)
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
icon_theme = gtk.icon_theme_get_default()
|
icon_theme = gtk.icon_theme_get_default()
|
||||||
return icon_theme.load_icon("deluge", 32, 0)
|
return icon_theme.load_icon("deluge", 32, 0)
|
||||||
except:
|
except:
|
||||||
return deluge.common.get_logo(32)
|
return get_logo(32)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user