[gnome-boxes] wizard: Make use of new customization view/API



commit 71158d2a0e58d4088c14079fdef30ed38b45f583
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sun Dec 7 18:24:05 2014 +0000

    wizard: Make use of new customization view/API
    
    Instead of launching properties view on user hitting 'Customize' button,
    show the new resource customization UI. This means that now user can
    only customize resources before hitting 'Create' button but that is fine
    because resources are typically the only properties that users want to
    customize before machine is launched for the first time.
    
    Also this bebavior/UI is according to the new mockups.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741046

 src/wizard.vala |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index cb7a980..8181d0a 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -529,8 +529,7 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
 
         if (machine != null)
             summary.append_customize_button (() => {
-                // Selecting an item in UIState.WIZARD implies changing state to UIState.PROPERTIES
-                window.select_item (machine);
+                wizard_window.show_customization_page (libvirt_machine);
             });
 
         return true;


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