[gnome-boxes] wizard: clear skip_review_for_live at end of review



commit 76c414a93405c068bd669fa22067203be87db298
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Thu Sep 6 12:54:46 2012 +0200

    wizard: clear skip_review_for_live at end of review
    
    Since review() is async, it may continue while the LAST page has
    already been reached, we want to keep that variable set until review
    finishes.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683417

 src/wizard.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index e3fac85..8f8b0b5 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -81,7 +81,6 @@ private class Boxes.Wizard: Boxes.UI {
                     break;
 
                 case WizardPage.LAST:
-                    skip_review_for_live = false;
                     create.begin ((obj, result) => {
                        if (create.end (result))
                           App.app.ui_state = UIState.COLLECTION;
@@ -330,6 +329,7 @@ private class Boxes.Wizard: Boxes.UI {
         var result = yield do_review_cancellable ();
         review_cancellable = null;
 
+        skip_review_for_live = false;
         return result;
     }
 



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