/[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.4 - (show annotations) (download)
Wed Apr 27 14:33:48 2011 UTC (13 years, 7 months ago) by slords
Branch: MAIN
Changes since 1.3: +0 -0 lines
FILE REMOVED
Import of anaconda-11.1.2.224-1.el5.centos.1

1 From 4d562d382af772c3af5cf8b1c0db9b7445d562c9 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