diff options
author | Mike Fulbright <msf@redhat.com> | 2003-09-17 20:55:03 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-09-17 20:55:03 +0000 |
commit | 8307d33391423f13c1deed409b80d8e381582a93 (patch) | |
tree | f9166970bd7d0694367ea7f66572d9949b02af1b /textw | |
parent | 114ca03be7dab9ce579531a318be02ea7562fb84 (diff) | |
download | anaconda-8307d33391423f13c1deed409b80d8e381582a93.tar.gz anaconda-8307d33391423f13c1deed409b80d8e381582a93.tar.xz anaconda-8307d33391423f13c1deed409b80d8e381582a93.zip |
add a nag to let user know running w/o a firewall is dangerous (unlike scissors) and add mnenomics to monitor not set nag dialogbefore-taroon-merge
Diffstat (limited to 'textw')
-rw-r--r-- | textw/firewall_text.py | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/textw/firewall_text.py b/textw/firewall_text.py index 2d3cb2e9c..1ef241621 100644 --- a/textw/firewall_text.py +++ b/textw/firewall_text.py @@ -3,7 +3,7 @@ # # Bill Nottingham <notting@redhat.com> # -# Copyright 2001-2002 Red Hat, Inc. +# Copyright 2001-2003 Red Hat, Inc. # # This software may be freely redistributed under the terms of the GNU # library public license. @@ -189,8 +189,15 @@ class FirewallWindow: screen.popWindow() if rc == TEXT_OK_CHECK or result == TEXT_F12_CHECK: - - break + if self.disabled.selected(): + rc2 = self.intf.messageWindow(_("Warning - No Firewall"), + _("You have elected to disable the firewall on this system. This is not recomended if this system is attached directly to the Internet or is on a large public network. A firewall will help prevent unauthorized access to your system.\n\nAre you sure you want to turn off the firewall?"), + type="custom", custom_icon="warning", + custom_buttons=[_("_Back"), _("_Proceed")]) + if rc2 == 0: + continue + else: + break screen.popWindow() |