[gnome-boxes/gnome-3-4] wizard: go to setup step after prepare
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/gnome-3-4] wizard: go to setup step after prepare
- Date: Fri, 8 Jun 2012 16:38:22 +0000 (UTC)
commit 76827ca504c7bb3f6cb7c5caa52175e41b52c5c9
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Wed May 30 20:11:56 2012 +0200
wizard: go to setup step after prepare
During prepare, the source/media is recognized, and then
it goes to SETUP. If the media is already known, still go
to SETUP and not REVIEW step. Also get rid of Idle().
This get rid of extra warning when selecting an iso and
staying in prepare step.
https://bugzilla.gnome.org/show_bug.cgi?id=677117
src/wizard.vala | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index d745136..28e5399 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -235,13 +235,9 @@ private class Boxes.Wizard: Boxes.UI {
if (this.wizard_source.install_media != null) {
install_media = this.wizard_source.install_media;
prep_progress.fraction = 1.0;
- Idle.add (() => {
- page = page + 1;
+ page = WizardPage.SETUP;
- return false;
- });
-
- return true;
+ return false;
} else {
try {
prepare_for_location (this.wizard_source.uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]