[gnome-boxes] Move to next page on successful 'Preparation' step



commit 0317dfcc62c5cb28fdc5f6afbbb998285c0e007a
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Nov 2 19:27:55 2011 +0200

    Move to next page on successful 'Preparation' step
    
    In the wizard, automatically move to next page when 'Preparation' is
    successful.

 src/wizard.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index d75c438..00e2ac2 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -172,6 +172,7 @@ private class Boxes.Wizard: Boxes.UI {
         try {
             install_media = InstallerMedia.instantiate.end (result);
             resources = os_db.get_resources_for_os (install_media.os);
+            page = page + 1;
         } catch (IOError.CANCELLED cancel_error) { // We did this, so no warning!
         } catch (GLib.Error error) {
             warning ("Fixme: %s".printf (error.message));



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