14d29e6c11
twice, resulting in failure virtman-prevent-double-click-starting-vm-twice.patch - bnc#877907 - when starting guest in virt--manager with details pane open, keyboard is grabbed erroneously 531e0a82-reverse-keyboard-grab-commit.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=173
15 lines
708 B
Diff
15 lines
708 B
Diff
bnc#874594 - virt-manager allows issuing of start for xen domain twice, resulting in failure
|
|
|
|
--- virt-manager-1.0.1/virtManager/details.py.orig 2014-05-15 17:04:23.580176420 -0600
|
|
+++ virt-manager-1.0.1/virtManager/details.py 2014-05-15 17:07:55.444521681 -0600
|
|
@@ -1459,6 +1459,9 @@ class vmmDetails(vmmGObjectUI):
|
|
self.widget("details-menu-usb-redirection").set_sensitive(can_usb)
|
|
|
|
def control_vm_run(self, src_ignore):
|
|
+ # 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)
|
|
self.emit("action-run-domain",
|
|
self.vm.conn.get_uri(), self.vm.get_uuid())
|
|
|