diff options
Diffstat (limited to 'invest-applet/invest/applet.py')
-rw-r--r-- | invest-applet/invest/applet.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/invest-applet/invest/applet.py b/invest-applet/invest/applet.py index 1a7cbc90..4d877da6 100644 --- a/invest-applet/invest/applet.py +++ b/invest-applet/invest/applet.py @@ -1,8 +1,9 @@ import os, time from os.path import * +import mate_invest.defs import gi -gi.require_version("Gtk", "2.0") +gi.require_version("Gtk", mate_invest.defs.GTK_API_VERSION) from gi.repository import Gtk from gi.repository import Gdk @@ -13,7 +14,7 @@ from gi.repository import MatePanelApplet GObject.threads_init() from gettext import gettext as _ -import mate_invest, mate_invest.about, mate_invest.chart, mate_invest.preferences, mate_invest.defs +import mate_invest, mate_invest.about, mate_invest.chart, mate_invest.preferences from mate_invest.quotes import QuoteUpdater from mate_invest.widgets import * |