summaryrefslogtreecommitdiff
path: root/SoftwareProperties
diff options
context:
space:
mode:
authorSebastian Heinlein <sebastian.heinlein@web.de>2006-04-19 00:43:09 +0200
committerSebastian Heinlein <sebastian.heinlein@web.de>2006-04-19 00:43:09 +0200
commitf8724e0b2329dbd497419123e38bb36d7bbeed71 (patch)
tree2b8e69695f5042ac5a77e5b9eb9e425af6fa960c /SoftwareProperties
parent65b8d2037f671cff8d3903d73fe94ef06e682a7b (diff)
downloadpython-apt-f8724e0b2329dbd497419123e38bb36d7bbeed71.tar.gz
* greatly improve the icon loading code
Diffstat (limited to 'SoftwareProperties')
-rw-r--r--SoftwareProperties/SoftwareProperties.py7
1 files changed, 1 insertions, 6 deletions
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: