correction for glib.gerror commit
This commit is contained in:
parent
ed883125fd
commit
7b1e8862b4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue