[gnome-applets] [invest-applet] removed broken and unnecessarily set icon for preferences dialog
- From: Enrico Minack <eminack src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] [invest-applet] removed broken and unnecessarily set icon for preferences dialog
- Date: Thu, 8 Jul 2010 15:13:39 +0000 (UTC)
commit 20513a11b489887ab85c69077d08d503d7ab4a35
Author: Enrico Minack <enrico-minack gmx de>
Date: Thu Jul 8 17:11:02 2010 +0200
[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.
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 5eb1aeb..2a0247f 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):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]