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



From: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>

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));
-- 
1.7.7



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