diff --git a/src/virt-manager.py.in b/src/virt-manager.py.in index f31450250..a5f6cbad1 100755 --- a/src/virt-manager.py.in +++ b/src/virt-manager.py.in @@ -316,10 +316,6 @@ def main(): import libvirt libvirt = virtManager.module_trace.wrap_module(libvirt) - # Add our icon dir to icon theme - icon_theme = gtk.icon_theme_get_default() - icon_theme.prepend_search_path(icon_dir) - gobject.threads_init() import dbus @@ -355,6 +351,10 @@ def main(): # Ignore SIGHUP, otherwise a serial console closing drops the whole app signal.signal(signal.SIGHUP, signal.SIG_IGN) + # Add our icon dir to icon theme + icon_theme = gtk.icon_theme_get_default() + icon_theme.prepend_search_path(icon_dir) + from virtManager.engine import vmmEngine gtk.window_set_default_icon_name(appname)