/[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.2 - (show annotations) (download)
Mon May 17 16:15:48 2010 UTC (14 years ago) by slords
Branch: MAIN
CVS Tags: anaconda-11_1_2_209-1_el5_sme
Changes since 1.1: +1 -1 lines
COS5.5 update

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

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