summaryrefslogtreecommitdiff
path: root/portato/gui/windows/main.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-03-06 13:27:14 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-03-06 13:27:14 +0100
commit255e23062788fda92e57855ce216bd0d38a9d958 (patch)
treebee822573d52cf8a50e8c3dec6656e6f9f8a8167 /portato/gui/windows/main.py
parent15fefdc8c11b352b10f87d1f4c46dd274213cbdc (diff)
downloadportato-255e23062788fda92e57855ce216bd0d38a9d958.tar.gz
portato-255e23062788fda92e57855ce216bd0d38a9d958.tar.bz2
portato-255e23062788fda92e57855ce216bd0d38a9d958.zip
improved image handling
Diffstat (limited to '')
-rw-r--r--portato/gui/windows/main.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 1b67747..0b0c48d 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -434,8 +434,7 @@ class MainWindow (Window):
self.window.set_geometry_hints (self.window, max_height = gtk.gdk.screen_height(), max_width = gtk.gdk.screen_width())
# app icon
- self.window.set_icon_from_file(APP_ICON)
- gtk.window_set_default_icon(self.window.get_icon())
+ gtk.window_set_default_icon_from_file(APP_ICON)
# booleans
self.doUpdate = False