8d6890f068
virt-manager-2.1.0.tar.bz2 virtman-fix-env-script-interpreter.patch * Bash autocompletion support (Lin Ma, Cole Robinson) * UI and command line –vsock support (Slavomir Kaslev) * virt-xml: Add –os-variant option (Andrea Bolognani) * virt-install: use libosinfo cpu, mem, disk size defaults (Fabiano Fidencio) * virt-install: Better usage of libosinfo -unknown distro IDs (Fabiano Fidencio) * virt-install: More usage of libosinfo for ISO –location detection * virt-install: Add –location LOCATION,kernel=X,initrd=Y for pointing to kernel/initrd in media that virt-install/libosinfo fails to detect - Drop 25b88733-urldetect-Dont-overload-suse_content-variable.patch 9308bae3-util-Fix-typo-vpcu-vcpu.patch b8aff280-virtinst-quickfix-ubuntu-net-preseed-insert-cdrom-error.patch c30b3bc6-increase-timeout-for-vm-to-start.patch virtinst-use-latest-opensuse-version-when-unknown-media.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=456
20 lines
900 B
Diff
20 lines
900 B
Diff
Reference: bnc#874594
|
|
When the 'Power on virtual machine' button is double clicked,
|
|
virt-manager issues two start commands to start the VM which
|
|
results in a failure. There is code elsewhere to desensitize the
|
|
button but this patch does it earlier.
|
|
Index: virt-manager-2.1.0/virtManager/details.py
|
|
===================================================================
|
|
--- virt-manager-2.1.0.orig/virtManager/details.py
|
|
+++ virt-manager-2.1.0/virtManager/details.py
|
|
@@ -1505,6 +1505,9 @@ class vmmDetails(vmmGObjectUI):
|
|
def control_vm_run(self, src_ignore):
|
|
if self.has_unapplied_changes(self.get_hw_row()):
|
|
return
|
|
+ # De-sensitize widget so a double click on the icon won't attempt to
|
|
+ # start the VM twice
|
|
+ self.widget("control-run").set_sensitive(False)
|
|
vmmenu.VMActionUI.run(self, self.vm)
|
|
|
|
def control_vm_shutdown(self, src_ignore):
|