From a14f4f6869876af5bbe408a5d5ee38a4966636ee Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 3 Aug 2009 14:40:24 +0000 Subject: [PATCH] Fix get_deluge_icon --- deluge/ui/gtkui/common.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/deluge/ui/gtkui/common.py b/deluge/ui/gtkui/common.py index b0012ba36..2075002b7 100644 --- a/deluge/ui/gtkui/common.py +++ b/deluge/ui/gtkui/common.py @@ -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)