diff options
author | Stefano Karapetsas <[email protected]> | 2013-12-23 13:28:31 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-12-23 13:28:31 -0800 |
commit | 4ad6c16ece62b4f5dc90ac96623c5643e97a1921 (patch) | |
tree | 6cb7c142584cb9376e6f5e82c54d4344bc403ed3 /invest-applet | |
parent | 40180c1e529161e8ce1cefbbe311b894383c6fe5 (diff) | |
parent | 4d1a88869536ba3083a4472c823b379bd63f310d (diff) | |
download | mate-applets-4ad6c16ece62b4f5dc90ac96623c5643e97a1921.tar.bz2 mate-applets-4ad6c16ece62b4f5dc90ac96623c5643e97a1921.tar.xz |
Merge pull request #69 from flexiondotorg/1.6
Cherry picks for `mate-applets` 1.6
Diffstat (limited to 'invest-applet')
-rw-r--r-- | invest-applet/data/org.mate.applets.InvestApplet.mate-panel-applet.in.in | 2 | ||||
-rw-r--r-- | invest-applet/invest/chart.py | 2 | ||||
-rw-r--r-- | invest-applet/invest/quotes.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/invest-applet/data/org.mate.applets.InvestApplet.mate-panel-applet.in.in b/invest-applet/data/org.mate.applets.InvestApplet.mate-panel-applet.in.in index 00a83afb..dced4d50 100644 --- a/invest-applet/data/org.mate.applets.InvestApplet.mate-panel-applet.in.in +++ b/invest-applet/data/org.mate.applets.InvestApplet.mate-panel-applet.in.in @@ -7,7 +7,7 @@ _Description=Factory for creating the invest applet. [InvestApplet] _Name=Invest _Description=Track your invested money. -Icon=invest-applet +Icon=mate-invest-applet BonoboId=OAFIID:Invest_Applet_Factory X-MATE-Bugzilla-Bugzilla=MATE X-MATE-Bugzilla-Product=mate-applets diff --git a/invest-applet/invest/chart.py b/invest-applet/invest/chart.py index e13e0686..0899351d 100644 --- a/invest-applet/invest/chart.py +++ b/invest-applet/invest/chart.py @@ -210,7 +210,7 @@ class FinancialChart: a += "%s%s," % (name[1:], param) # Create the image URL ----------------------------------------------------- - chart_base_url = "http://ichart.europe.yahoo.com/z?s=%(s)s&t=%(t)s&q=%(q)s&l=%(l)s&z=%(z)s&p=%(p)s&a=%(a)s%(opt)s" + chart_base_url = "http://chart.finance.yahoo.com/z?s=%(s)s&t=%(t)s&q=%(q)s&l=%(l)s&z=%(z)s&p=%(p)s&a=%(a)s%(opt)s" url = chart_base_url % { "s": tickers[0], "t": self.time_ranges[self.ui.get_object("t").get_active()], diff --git a/invest-applet/invest/quotes.py b/invest-applet/invest/quotes.py index 44943b1d..448c13bd 100644 --- a/invest-applet/invest/quotes.py +++ b/invest-applet/invest/quotes.py @@ -287,7 +287,7 @@ class QuoteUpdater(Gtk.ListStore): self.add_balance_change(balance, change, val["currency"]) if len(ticker.split('.')) == 2: - url = 'http://ichart.europe.yahoo.com/h?s=%s' % ticker + url = 'http://chart.finance.yahoo.com/h?s=%s' % ticker else: url = 'http://ichart.yahoo.com/h?s=%s' % ticker |