[gnome-boxes] wizard: Set UI state on App, not AppWindow



commit 04c0442cf299c7100f9bb18c624ad2f612245a26
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed May 21 19:09:25 2014 +0100

    wizard: Set UI state on App, not AppWindow
    
    This fixes the issue of Boxes ending up in weird state if passed an
    unknown (to Boxes) media through commandline (i-e when review is
    skipped).

 src/wizard.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 32afbbb..a685a76 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -106,7 +106,7 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
                 case WizardPage.LAST:
                     create.begin ((obj, result) => {
                        if (create.end (result))
-                          App.window.set_state (UIState.COLLECTION);
+                          App.app.set_state (UIState.COLLECTION);
                        else
                           App.window.notificationbar.display_error (_("Box creation failed"));
                     });


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