[gnome-boxes/gnome-3-4: 6/15] wizard: Switch source to main page on cancellation



commit 9681c4b14913845c7416f800a725f38211177df2
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Mar 28 03:13:18 2012 +0300

    wizard: Switch source to main page on cancellation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672528

 src/wizard.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 8b21409..d31817e 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -492,6 +492,7 @@ private class Boxes.Wizard: Boxes.UI {
         tool_item.child = cancel;
         toolbar.insert (tool_item, 1);
         cancel.clicked.connect (() => {
+            wizard_source.page = SourcePage.MAIN;
             app.ui_state = UIState.COLLECTION;
         });
 



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