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

Contents of /rpms/anaconda/sme7/0012-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)
Tue Oct 27 01:24:44 2009 UTC (15 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Error occurred while calculating annotation data.
Update spec

1 From 02a15d7e0252ae5445d8d9230b9f9810cbf93224 Mon Sep 17 00:00:00 2001
2 From: Shad L. Lords <slords@mail.com>
3 Date: Mon, 26 Oct 2009 18:23:05 -0600
4 Subject: [PATCH] Add final warning before installing
5
6 ---
7 textw/installpath_text.py | 10 +++++-----
8 1 files changed, 5 insertions(+), 5 deletions(-)
9
10 diff --git a/textw/installpath_text.py b/textw/installpath_text.py
11 index 3f1c464..58a4f71 100644
12 --- a/textw/installpath_text.py
13 +++ b/textw/installpath_text.py
14 @@ -45,12 +45,12 @@ class InstallPathWindow:
15 if orig != None:
16 default = orig
17
18 - (button, choice) = ListboxChoiceWindow(screen, _("Installation Type"),
19 - _("What type of system would you like to install?"),
20 - choices, [TEXT_OK_BUTTON, TEXT_BACK_BUTTON],
21 - width = 40, default = default, help = "installpath")
22 + choice = default
23 + rc = intf.messageWindow(_("Warning"),
24 + _("All disks will be reformatted and any data will be lost. Proceed?"),
25 + type = "yesno", default = "no")
26
27 - if button == TEXT_BACK_CHECK:
28 + if rc == 0:
29 return INSTALL_BACK
30
31 if (choice != orig):
32 --
33 1.5.5.6
34

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