[gnome-boxes] libvirt-machine: Don't show spinner on live boxes



commit afcbb3cfb1162f3c94fe7f39206465b138ed5798
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Jul 26 18:16:57 2013 +0300

    libvirt-machine: Don't show spinner on live boxes
    
    Live boxes shouldn't be marked as 'under-construction' really as they
    can be used as is.

 src/libvirt-machine.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libvirt-machine.vala b/src/libvirt-machine.vala
index fb9436b..07b5402 100644
--- a/src/libvirt-machine.vala
+++ b/src/libvirt-machine.vala
@@ -16,7 +16,7 @@ private class Boxes.LibvirtMachine: Boxes.Machine {
         set {
             _vm_creator = value;
             can_delete = !importing;
-            under_construction = (value != null);
+            under_construction = (value != null && !VMConfigurator.is_live_config (domain_config));
         }
     }
     // If this machine is currently being imported


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]