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/__init__.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/__init__.py')
-rw-r--r-- | invest-applet/invest/__init__.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/invest-applet/invest/__init__.py b/invest-applet/invest/__init__.py index beb299c1..da6a2512 100644 --- a/invest-applet/invest/__init__.py +++ b/invest-applet/invest/__init__.py @@ -3,8 +3,11 @@ from os.path import join, exists, isdir, isfile, dirname, abspath, expanduser from types import ListType import datetime +# Autotools set the actual data_dir in defs.py +from defs import * + import gi -gi.require_version("Gtk", "2.0") +gi.require_version("Gtk", GTK_API_VERSION) from gi.repository import Gtk from gi.repository import Gdk from gi.repository import GObject @@ -14,8 +17,7 @@ import cPickle import networkmanager -# Autotools set the actual data_dir in defs.py -from defs import * + DEBUGGING = False |