Fix get_deluge_icon

This commit is contained in:
Andrew Resch 2009-08-03 14:40:24 +00:00
parent 4cfa6485d7
commit a14f4f6869
1 changed files with 2 additions and 3 deletions

View File

@ -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)