2014-10-20 19:26:18 +02:00
|
|
|
Index: virt-manager-1.0.1/virtManager/config.py
|
|
|
|
===================================================================
|
|
|
|
--- virt-manager-1.0.1.orig/virtManager/config.py
|
|
|
|
+++ virt-manager-1.0.1/virtManager/config.py
|
|
|
|
@@ -21,8 +21,10 @@ import os
|
|
|
|
import logging
|
|
|
|
|
|
|
|
# pylint: disable=E0611
|
|
|
|
+import gi
|
|
|
|
from gi.repository import Gio
|
|
|
|
from gi.repository import GLib
|
|
|
|
+gi.require_version('Gtk', '3.0')
|
|
|
|
from gi.repository import Gtk
|
|
|
|
# pylint: enable=E0611
|
|
|
|
|
|
|
|
Index: virt-manager-1.0.1/virtManager/console.py
|
|
|
|
===================================================================
|
|
|
|
--- virt-manager-1.0.1.orig/virtManager/console.py
|
|
|
|
+++ virt-manager-1.0.1/virtManager/console.py
|
|
|
|
@@ -21,10 +21,13 @@
|
|
|
|
#
|
|
|
|
|
|
|
|
# pylint: disable=E0611
|
|
|
|
+import gi
|
|
|
|
from gi.repository import GObject
|
|
|
|
from gi.repository import Gtk
|
|
|
|
from gi.repository import Gdk
|
|
|
|
+gi.require_version('GtkVnc', '2.0')
|
|
|
|
from gi.repository import GtkVnc
|
2014-10-21 05:16:40 +02:00
|
|
|
+gi.require_version('SpiceClientGtk', '3.0')
|
2014-10-20 19:26:18 +02:00
|
|
|
from gi.repository import SpiceClientGtk
|
|
|
|
from gi.repository import SpiceClientGLib
|
|
|
|
# pylint: enable=E0611
|