From f8724e0b2329dbd497419123e38bb36d7bbeed71 Mon Sep 17 00:00:00 2001 From: Sebastian Heinlein Date: Wed, 19 Apr 2006 00:43:09 +0200 Subject: * greatly improve the icon loading code --- SoftwareProperties/SoftwareProperties.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'SoftwareProperties') diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py index d80781e0..237ffbdd 100644 --- a/SoftwareProperties/SoftwareProperties.py +++ b/SoftwareProperties/SoftwareProperties.py @@ -57,12 +57,7 @@ CONF_MAP = { class SoftwareProperties(SimpleGladeApp): def __init__(self, datadir=None, options=None, parent=None): - icons = gtk.icon_theme_get_default() - try: - logo=icons.load_icon("software-properties", 48, 0) - gtk.window_set_default_icon_list(logo) - except: - pass + gtk.window_set_default_icon_name("software-properties") # FIXME: some saner way is needed here if datadir == None: -- cgit v1.2.3