virt-manager/virt-manager-Gtk-30.patch
Cristian Rodríguez 7c1b56fa91 Accepting request 257804 from home:dimstar:branches:Virtualization
Only fix a typo in the Gtk-3.0 patch: no .changes added; there is no way it can enter Factory without this typo fix, so the previous .changes entry is valid; users cannot install the existing binaries neither

OBS-URL: https://build.opensuse.org/request/show/257804
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=205
2014-10-21 03:16:40 +00:00

34 lines
1.0 KiB
Diff

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
+gi.require_version('SpiceClientGtk', '3.0')
from gi.repository import SpiceClientGtk
from gi.repository import SpiceClientGLib
# pylint: enable=E0611