[gnome-boxes] vm-creator: Ensure post install config is set after launch



commit 22cbe3d9cc278ef7bdda4cfd79fde43456e0e43e
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Aug 21 01:30:12 2012 +0300

    vm-creator: Ensure post install config is set after launch
    
    We were setting post-installation config before launching the domain in
    for non-express installation.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=682311

 src/vm-creator.vala |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/vm-creator.vala b/src/vm-creator.vala
index 986a02c..07791e5 100644
--- a/src/vm-creator.vala
+++ b/src/vm-creator.vala
@@ -57,14 +57,15 @@ private class Boxes.VMCreator {
 
                 App.app.select_item (machine); // This also starts the domain for us
                 App.app.fullscreen = true;
+                set_post_install_config (machine);
                 App.app.disconnect (signal_id);
 
                 return;
             });
-        } else
+        } else {
             machine.domain.start (0);
-
-        set_post_install_config (machine);
+            set_post_install_config (machine);
+        }
 
         state_changed_id = machine.notify["state"].connect (on_machine_state_changed);
         machine.vm_creator = this;



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