1 |
From cdc1714ff5bd6c94b87a369b57e4ba6647d44ea2 Mon Sep 17 00:00:00 2001 |
2 |
From: Shad L. Lords <slords@mail.com> |
3 |
Date: Mon, 19 Oct 2009 08:32:44 -0600 |
4 |
Subject: [PATCH] Add final warning before installing |
5 |
|
6 |
--- |
7 |
textw/confirm_text.py | 7 +++++++ |
8 |
1 files changed, 7 insertions(+), 0 deletions(-) |
9 |
|
10 |
diff --git a/textw/confirm_text.py b/textw/confirm_text.py |
11 |
index 2bb7f3d..814b231 100644 |
12 |
--- a/textw/confirm_text.py |
13 |
+++ b/textw/confirm_text.py |
14 |
@@ -19,6 +19,13 @@ from image import presentRequiredMediaMessage |
15 |
|
16 |
class BeginInstallWindow: |
17 |
def __call__ (self, screen, anaconda): |
18 |
+ rc = anaconda.intf.messageWindow(_("Warning"), |
19 |
+ _("All disks will be reformatted and any data will be lost. Proceed?"), |
20 |
+ type = "yesno", default = "no") |
21 |
+ |
22 |
+ if rc == 0: |
23 |
+ return INSTALL_BACK |
24 |
+ |
25 |
rc = ButtonChoiceWindow (screen, _("Installation to begin"), |
26 |
_("A complete log of your installation will be in " |
27 |
"%s after rebooting your system. You " |
28 |
-- |
29 |
1.5.5.6 |
30 |
|