correction for glib.gerror commit

This commit is contained in:
Calum Lind 2012-02-19 13:32:45 +00:00
parent ed883125fd
commit 7b1e8862b4
1 changed files with 8 additions and 8 deletions

View File

@ -50,11 +50,11 @@ import deluge.common
def get_logo(size):
"""Returns a deluge logo pixbuf based on the size parameter."""
try:
if deluge.common.windows_check() or deluge.common.osx_check():
return gtk.gdk.pixbuf_new_from_file_at_size(deluge.common.get_pixmap("deluge.png"), \
size, size)
else:
try:
return gtk.gdk.pixbuf_new_from_file_at_size(deluge.common.get_pixmap("deluge.svg"), \
size, size)
except Exception, e: