Disable autoconnect when --show-* is specified.

This commit is contained in:
Leonardo Garcia 2013-07-13 06:21:30 -03:00 committed by Cole Robinson
parent 40cff67836
commit e3abd6496d
2 changed files with 4 additions and 2 deletions

View File

@ -46,8 +46,9 @@ Don't autostart any libvirt connections when launching C<virt-manager>.
=item --show-DIALOG-WINDOW
Display the corresponding C<DIALOG-WINDOW> when launching C<virt-manager>. The
manager window will not be shown at startup in this case.
Display the corresponding C<DIALOG-WINDOW> when launching C<virt-manager>. This
function implies --no-conn-autostart and the manager window will not be shown
at startup in this case.
The following C<DIALOG-WINDOW> options are currently available:

View File

@ -283,6 +283,7 @@ def main():
return True
engine.uri_cb = cb
engine.show_manager_window = False
engine.skip_autostart = True
# Finally start the app for real