[gnome-boxes] vm-creator: Automatically start saved installations



commit 07d994a035ffadf17051bb0e424c2e36d9cb44da
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sat Jun 30 22:08:03 2012 +0300

    vm-creator: Automatically start saved installations
    
    If Boxes was quit while a domain was under installation, we should awake
    the domain from the saved state next time Boxes is launched.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678894

 src/vm-creator.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/vm-creator.vala b/src/vm-creator.vala
index e55cb6f..f8852c5 100644
--- a/src/vm-creator.vala
+++ b/src/vm-creator.vala
@@ -90,6 +90,9 @@ private class Boxes.VMCreator {
             debug ("'%s' has saved state, no need for post-installation setup on it", machine.name);
             // This means the domain was just saved and thefore this is not yet the time to take any post-install
             // steps for this domain.
+            if (VMConfigurator.is_install_config (machine.domain_config))
+                domain.start_async.begin (0, null);
+
             return;
         }
 



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