[gnome-boxes] wizard: Always skip setup page for live media
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] wizard: Always skip setup page for live media
- Date: Mon, 11 Jun 2012 16:50:05 +0000 (UTC)
commit 8b68c8b11ea66a5c6b7f814cc4aaeab73cd56f4d
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Fri Jun 8 04:05:29 2012 +0300
wizard: Always skip setup page for live media
Without this fix, we are presenting UI options to user that will be
ignored completely.
https://bugzilla.gnome.org/show_bug.cgi?id=677666
src/wizard.vala | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index efc2671..0f88ba7 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -361,12 +361,9 @@ private class Boxes.Wizard: Boxes.UI {
skip_to = page - 1;
if (install_media != null) {
- // go to last if skip review for live
- if (forwards &&
- page == Boxes.WizardPage.SETUP &&
- install_media.live && skip_review_for_live)
- // No setup or review required for live media
- skip_to = WizardPage.LAST;
+ if (forwards && page == Boxes.WizardPage.SETUP && install_media.live)
+ // No setup required for live media and also skip review if told to do so
+ skip_to = skip_review_for_live ? WizardPage.LAST : WizardPage.REVIEW;
// always skip SETUP page if not unattended installer
if (page == Boxes.WizardPage.SETUP &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]