diff --git a/terminator b/terminator index 77e8071e..37275c0d 100755 --- a/terminator +++ b/terminator @@ -28,6 +28,7 @@ except OSError: # Check we have simple basics like Gtk+ and a valid $DISPLAY try: import gi + gi.require_version('Gtk','3.0') # pylint: disable-msg=W0611 from gi.repository import Gtk, Gdk diff --git a/terminatorlib/config.py b/terminatorlib/config.py index d69d2e63..f14b151b 100755 --- a/terminatorlib/config.py +++ b/terminatorlib/config.py @@ -80,6 +80,8 @@ from borg import Borg from util import dbg, err, DEBUG, get_config_dir, dict_diff try: + import gi + gi.require_version('GConf','2.0') from gi.repository import GConf except ImportError: dbg('Unable to import gconf, GNOME defaults unavailable')