1
0
mirror of https://src.fedoraproject.org/rpms/virt-manager.git synced 2025-07-15 16:53:32 +00:00
Files
virt-manager/virt-manager-0.8.2-gtk-cli-options.patch
Cole Robinson 31875e5b42 Fix some german translation issues (bz 571200, bz 571231) Allow --sync CLI
option Fix using a manual 'default' pool (bz 557020) Fix crash if
    libvirtd is restarted (bz 555063) Don't force grab focus when app is
    run (bz 548430)
2010-03-22 01:46:44 +00:00

34 lines
1.2 KiB
Diff

# HG changeset patch
# User Cole Robinson <crobinso@redhat.com>
# Date 1265648061 18000
# Node ID 876f708ad69b61507e09fb2ec0438d477bd6e25a
# Parent 295646fddf4376f1425afde34df71a8095f125c7
Abide gtk cmdline options
By parsing opts later, GTK seems to auto parse and abide options like
--sync.
diff -r 295646fddf43 -r 876f708ad69b src/virt-manager.py.in
--- a/src/virt-manager.py.in Mon Feb 08 11:44:04 2010 -0500
+++ b/src/virt-manager.py.in Mon Feb 08 11:54:21 2010 -0500
@@ -284,9 +284,6 @@
setup_i18n()
setup_pypath()
- (options, ignore) = parse_commandline()
- setup_logging(options.debug)
-
# Urgh, pygtk merely logs a warning when failing to open
# the X11 display connection, and lets everything carry
# on as if all were fine. Ultimately bad stuff happens,
@@ -308,6 +305,9 @@
raise RuntimeError(_("Unable to initialize GTK: %s") % str(e))
warnings.resetwarnings()
+ (options, ignore) = parse_commandline()
+ setup_logging(options.debug)
+
# Make sure we have a sufficiently new virtinst version, since we are
# very closely tied to the lib
msg = ("virt-manager requires the python-virtinst library version " +