From 574059148f933064f777ee82431d662371334500 Mon Sep 17 00:00:00 2001 From: Shad L. Lords Date: Mon, 19 Oct 2009 08:32:44 -0600 Subject: [PATCH 10/17] Add final warning before installing --- textw/confirm_text.py | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/textw/confirm_text.py b/textw/confirm_text.py index 2bb7f3d..814b231 100644 --- a/textw/confirm_text.py +++ b/textw/confirm_text.py @@ -19,6 +19,13 @@ from image import presentRequiredMediaMessage class BeginInstallWindow: def __call__ (self, screen, anaconda): + rc = anaconda.intf.messageWindow(_("Warning"), + _("All disks will be reformatted and any data will be lost. Proceed?"), + type = "yesno", default = "no") + + if rc == 0: + return INSTALL_BACK + rc = ButtonChoiceWindow (screen, _("Installation to begin"), _("A complete log of your installation will be in " "%s after rebooting your system. You " -- 1.7.1