diff options
author | Enrico Minack <enrico-minack@gmx.de> | 2010-07-08 17:11:02 +0200 |
---|---|---|
committer | Enrico Minack <enrico-minack@gmx.de> | 2010-07-08 17:11:02 +0200 |
commit | 20513a11b489887ab85c69077d08d503d7ab4a35 (patch) | |
tree | a205ff0de1a060b7eeb5b055095028f66bcf0a3e | |
parent | b6917ed19d8d05ddb0ad09d77b77ff2091b2de1b (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.py | 7 |
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): |