[gnome-applets] invest-applet: Fix some undefined variables in quotes.py



commit 2db593b13c7f4db7b5dabe6e067915708f348b31
Author: Dmitry Shachnev <mitya57 gmail com>
Date:   Mon Oct 13 19:54:45 2014 +0400

    invest-applet: Fix some undefined variables in quotes.py

 invest-applet/invest/quotes.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/invest-applet/invest/quotes.py b/invest-applet/invest/quotes.py
index 9357bb3..9210bfb 100644
--- a/invest-applet/invest/quotes.py
+++ b/invest-applet/invest/quotes.py
@@ -78,6 +78,8 @@ class QuoteUpdater(Gtk.TreeStore):
        SYMBOL, LABEL, CURRENCY, TICKER_ONLY, BALANCE, BALANCE_PCT, VALUE, VARIATION_PCT, PB = range(9)
        def __init__ (self, change_icon_callback, set_tooltip_callback):
                Gtk.TreeStore.__init__ (self, GObject.TYPE_STRING, GObject.TYPE_STRING, GObject.TYPE_STRING, 
bool, float, float, float, float, GdkPixbuf.Pixbuf)
+               self.quotes_count = 0
+               self.statistics = {}
                self.set_update_interval(AUTOREFRESH_TIMEOUT)
                self.change_icon_callback = change_icon_callback
                self.set_tooltip_callback = set_tooltip_callback


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]