From 4d562d382af772c3af5cf8b1c0db9b7445d562c9 Mon Sep 17 00:00:00 2001 From: Shad L. Lords Date: Mon, 19 Oct 2009 08:32:44 -0600 Subject: [PATCH] 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.5.5.6