/[smeserver]/rpms/anaconda/sme8/0010-Add-final-warning-before-installing.patch
ViewVC logotype

Contents of /rpms/anaconda/sme8/0010-Add-final-warning-before-installing.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Oct 22 14:43:11 2009 UTC (15 years ago) by slords
Branch: MAIN
CVS Tags: anaconda-11_1_2_195-1_el5_sme_1
Add patches

1 From d12507c79b8444e49fb21c4c64a933b3238f7a60 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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed