diff options
author | infirit <[email protected]> | 2014-02-04 22:57:59 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-02-04 22:57:59 +0100 |
commit | e07db99e4ab834f562bd1d1234a5827ae5ef4747 (patch) | |
tree | 8e60c06cf7a663aac0473efe03f254de4176cce9 /invest-applet/invest/invest-applet.py | |
parent | 9f48b8cec28f20c1936b90bc424783823e6e9226 (diff) | |
download | mate-applets-e07db99e4ab834f562bd1d1234a5827ae5ef4747.tar.bz2 mate-applets-e07db99e4ab834f562bd1d1234a5827ae5ef4747.tar.xz |
invest-applet: Add gtk3 support
Diffstat (limited to 'invest-applet/invest/invest-applet.py')
-rwxr-xr-x | invest-applet/invest/invest-applet.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/invest-applet/invest/invest-applet.py b/invest-applet/invest/invest-applet.py index 4fa883fc..b8d5b5d5 100755 --- a/invest-applet/invest/invest-applet.py +++ b/invest-applet/invest/invest-applet.py @@ -1,8 +1,8 @@ #!/usr/bin/env python -# +import mate_invest.defs import gi -gi.require_version("Gtk", "2.0") +gi.require_version("Gtk", mate_invest.GTK_API_VERSION) from gi.repository import Gtk from gi.repository import GObject from gi.repository import MatePanelApplet @@ -22,7 +22,7 @@ else: sys.path.insert(0, abspath("@PYTHONDIR@")) # Now the path is set, import our applet -import mate_invest, mate_invest.applet, mate_invest.defs, mate_invest.help +import mate_invest, mate_invest.applet, mate_invest.help # Prepare i18n import gettext, locale |