diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-07-31 05:14:14 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-09-24 13:22:13 +0200 |
commit | 04ff8c5f00afd624ab525704054b0e033867ef34 (patch) | |
tree | c2ca9a91b1c1b53d829de5329c56d21d87e241de | |
parent | cda600c471265e78626673d66f37ea5a35e558f7 (diff) | |
download | mageiawelcome-04ff8c5f00afd624ab525704054b0e033867ef34.tar mageiawelcome-04ff8c5f00afd624ab525704054b0e033867ef34.tar.gz mageiawelcome-04ff8c5f00afd624ab525704054b0e033867ef34.tar.bz2 mageiawelcome-04ff8c5f00afd624ab525704054b0e033867ef34.tar.xz mageiawelcome-04ff8c5f00afd624ab525704054b0e033867ef34.zip |
fix import warnings with latest gi
-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: |