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())
|
||
|
|