2014-05-16 01:33:17 +02:00
|
|
|
bnc#874594 - virt-manager allows issuing of start for xen domain twice, resulting in failure
|
|
|
|
|
2014-06-12 07:14:17 +02:00
|
|
|
Index: virt-manager-1.0.1/virtManager/details.py
|
|
|
|
===================================================================
|
|
|
|
--- virt-manager-1.0.1.orig/virtManager/details.py
|
|
|
|
+++ virt-manager-1.0.1/virtManager/details.py
|
2014-07-01 05:41:52 +02:00
|
|
|
@@ -1462,6 +1462,9 @@ class vmmDetails(vmmGObjectUI):
|
2014-05-16 01:33:17 +02:00
|
|
|
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())
|
|
|
|
|