summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Minack <enrico-minack@gmx.de>2010-07-08 17:11:02 +0200
committerEnrico Minack <enrico-minack@gmx.de>2010-07-08 17:11:02 +0200
commit20513a11b489887ab85c69077d08d503d7ab4a35 (patch)
treea205ff0de1a060b7eeb5b055095028f66bcf0a3e
parentb6917ed19d8d05ddb0ad09d77b77ff2091b2de1b (diff)
[invest-applet] removed broken and unnecessarily set icon for preferences dialog
The image filename is wrong, which causes a warning. The main window already sets a default image, which is therefore already used for the preferences dialog.
-rw-r--r--invest-applet/invest/preferences.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/invest-applet/invest/preferences.py b/invest-applet/invest/preferences.py
index 5eb1aeb9d..2a0247f27 100644
--- a/invest-applet/invest/preferences.py
+++ b/invest-applet/invest/preferences.py
@@ -67,13 +67,6 @@ class PrefsDialog:
exchange = 0.0
store.append([key, label, purchase["amount"], purchase["bought"], purchase["comission"], exchange])
- try:
- pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(join(invest.ART_DATA_DIR, "invest-16.png"), -1,-1)
- self.dialog.set_icon(pixbuf)
- except Exception, msg:
- invest.debug("Could not load 'invest-16.png' file: %s" % msg)
- pass
-
self.sync_ui()
def on_cell_edited(self, cell, path, new_text, col, typ):