[gnome-boxes] wizard: go to setup step after prepare
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] wizard: go to setup step after prepare
- Date: Wed, 30 May 2012 18:45:55 +0000 (UTC)
commit 4d680502e43efeb493d33ed58778803825684029
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 | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index cecf45e..dc8c282 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -234,13 +234,8 @@ 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 = WizardPage.REVIEW;
-
- return false;
- });
-
- return true;
+ page = WizardPage.SETUP;
+ 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]