diff options
-rw-r--r-- | usr/share/mageiawelcome/mageiawelcome.py | 2 | ||||
-rw-r--r-- | usr/share/mageiawelcome/webgui.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/usr/share/mageiawelcome/mageiawelcome.py b/usr/share/mageiawelcome/mageiawelcome.py index 5132419..5fbfad0 100644 --- a/usr/share/mageiawelcome/mageiawelcome.py +++ b/usr/share/mageiawelcome/mageiawelcome.py @@ -9,6 +9,8 @@ import subprocess import shlex import gettext import string +import gi +gi.require_version('Gtk', '3.0') from gi.repository import Gtk from user import home diff --git a/usr/share/mageiawelcome/webgui.py b/usr/share/mageiawelcome/webgui.py index a63314d..5f2ae6d 100644 --- a/usr/share/mageiawelcome/webgui.py +++ b/usr/share/mageiawelcome/webgui.py @@ -3,11 +3,13 @@ import Queue import thread import urllib +import gi from gi.repository import Gdk from gi.repository import Gtk from gi.repository import GObject try: + gi.require_version('WebKit', '3.0') from gi.repository import WebKit have_webkit = True except: |