[gnome-boxes] wizard: Complete cleanup on arriving to source page



commit 707460caf7fc521ecc5436c2d2e94b52af525b84
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Mar 25 15:19:56 2014 +0000

    wizard: Complete cleanup on arriving to source page
    
    Do a complete cleanup of wizard state when arriving to source page and
    do so in both forward and backward directions. This, combined with
    'wizard: Do a more thorough cleanup' commit, fixes the issue of user
    ending up in the wrong wizard pages and getting stuck on preparation
    page.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=726967

 src/wizard.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 55da2b7..32afbbb 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -69,13 +69,13 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
             case WizardPage.SOURCE:
                 // reset page to notify deeply widgets states
                 wizard_source.page = wizard_source.page;
+                cleanup ();
                 break;
             }
 
             if (forwards) {
                 switch (value) {
                 case WizardPage.SOURCE:
-                    wizard_source.selected = null;
                     wizard_source.page = SourcePage.MAIN;
                     break;
 


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