[gnome-boxes] wizard: Always start with 'Introduction' page
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] wizard: Always start with 'Introduction' page
- Date: Sun, 7 Dec 2014 23:43:44 +0000 (UTC)
commit f9134bd3f16aa6d0162822a6e2fefa0f8a9eb49b
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sun Dec 7 22:15:36 2014 +0000
wizard: Always start with 'Introduction' page
We go straight to 'Review' page if coming from properties state but now
we never arrive from properties to wizard so there is no need for code to
switch to 'Review' page anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=741046
src/wizard.vala | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index bc795e5..3070d04 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -644,13 +644,9 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
if (ui_state != UIState.WIZARD)
return;
- if (previous_ui_state == UIState.PROPERTIES)
- review.begin ();
- else {
- wizard_source.uri = "";
- wizard_source.libvirt_sys_import = false;
- page = WizardPage.INTRODUCTION;
- }
+ wizard_source.uri = "";
+ wizard_source.libvirt_sys_import = false;
+ page = WizardPage.INTRODUCTION;
}
private void destroy_machine () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]