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

Contents of /rpms/anaconda/sme8/0009-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)
Thu May 5 17:50:37 2011 UTC (13 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove install error warnings

1 From e629f23ec04bd43b97545e7e75d1e042b0a4a672 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 09/16] 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.7.4.1
30

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