4f703846c7
virt-manager-1.4.3.tar.bz2 * Improve install of debian/ubuntu non-x86 media (Viktor Mihajlovski, Andrew Wong) * New virt-install –graphics listen.* (Pavel Hrdina) * New virt-install –disk snapshot_policy= (Pavel Hrdina) * New virt-install –cpu cache.* (Lin Ma) * Several bug fixes - Dropped the following patch contained in new tarball e902fa55-force-binary-mode-with-FTP-servers.patch virt-manager-1.4.2.tar.bz2 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=369
20 lines
912 B
Diff
20 lines
912 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-1.4.3/virtManager/details.py
|
|
===================================================================
|
|
--- virt-manager-1.4.3.orig/virtManager/details.py
|
|
+++ virt-manager-1.4.3/virtManager/details.py
|
|
@@ -1449,6 +1449,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)
|
|
self.emit("action-run-domain",
|
|
self.vm.conn.get_uri(), self.vm.get_connkey())
|
|
|