diff --git a/src/virtManager/config.py b/src/virtManager/config.py index 29c8396f0..2431aa6c7 100644 --- a/src/virtManager/config.py +++ b/src/virtManager/config.py @@ -19,7 +19,6 @@ # import gconf import os -import gnome import gtk.gdk import libvirt @@ -100,10 +99,6 @@ class vmmConfig: libvirt.VIR_DOMAIN_NOSTATE: gtk.gdk.pixbuf_new_from_file_at_size(self.get_icon_dir() + "/state_running.png", 32, 32), } - props = { gnome.PARAM_APP_DATADIR : self.get_data_dir()} - gnome.program_init(self.get_appname(), self.get_appversion(), \ - properties=props) - def get_vm_status_icon(self, state): diff --git a/src/virtManager/engine.py b/src/virtManager/engine.py index 6aff8dff0..7751f8733 100644 --- a/src/virtManager/engine.py +++ b/src/virtManager/engine.py @@ -22,7 +22,6 @@ import gobject import gtk import libvirt import logging -import gnome import traceback import threading @@ -275,8 +274,12 @@ class vmmEngine(gobject.GObject): def show_help(self, index): try: - logging.debug("Showing help for %s" % index) - gnome.help_display(self.config.get_appname(), index) + uri = "ghelp:%s" % self.config.get_appname() + if index: + uri += "#%s" % index + + logging.debug("Showing help for %s" % uri) + gtk.show_uri(None, uri, gtk.get_current_event_time()) except gobject.GError, e: logging.error(("Unable to display documentation:\n%s") % e) diff --git a/virt-manager.spec.in b/virt-manager.spec.in index ece99ffe4..0d963f277 100644 --- a/virt-manager.spec.in +++ b/virt-manager.spec.in @@ -21,11 +21,6 @@ BuildArch: noarch # These two are just the oldest version tested Requires: pygtk2 >= 1.99.12-6 Requires: gnome-python2-gconf >= 1.99.11-7 -%if 0%{?fedora} <= 9 -Requires: gnome-python2 -%else -Requires: gnome-python2-gnome -%endif # This version not strictly required: virt-manager should work with older, # however varying amounts of functionality will not be enabled. Requires: libvirt-python >= 0.7.0