[gnome-boxes/gnome-3-8] Don't jump to next page on express install untoggled



commit 4732f59bf1a2a3a58dd2359a5b2cc4a8d72b3ca1
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue May 21 17:18:45 2013 +0300

    Don't jump to next page on express install untoggled
    
    While I thought this is a good idea, teuf and jimmac agree that this is
    weird and unexpected behavior. Moreover, it complicates the code and
    requires hacks to not mistrigger this.
    
    Without this patch, we end up launching the VM if installer setup fails
    for some reason.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700470

 src/unattended-installer.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/unattended-installer.vala b/src/unattended-installer.vala
index 7c250d7..ecfb421 100644
--- a/src/unattended-installer.vala
+++ b/src/unattended-installer.vala
@@ -390,7 +390,7 @@ private class Boxes.UnattendedInstaller: InstallerMedia {
         express_toggle.margin_bottom = 15;
         express_toggle.halign = Gtk.Align.START;
         express_toggle.valign = Gtk.Align.CENTER;
-        express_toggle.notify["active"].connect (() => { user_wants_to_create (); });
+        express_toggle.notify["active"].connect (() => { notify_property ("ready-to-create"); });
         setup_grid.attach (express_toggle, 2, 0, 1, 1);
         setup_grid_n_rows++;
 


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