diff options
author | Mike Fulbright <msf@redhat.com> | 2002-06-25 21:16:01 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-06-25 21:16:01 +0000 |
commit | 25e25f4c73bd63ceb64ab0a6b0bf0315a2617661 (patch) | |
tree | 27b58235ea6bc6e068513a008dfdebe0550c69d1 /packages.py | |
parent | 32bcef61b254cf40b922fffce03faf1d0b05b737 (diff) | |
download | anaconda-25e25f4c73bd63ceb64ab0a6b0bf0315a2617661.tar.gz anaconda-25e25f4c73bd63ceb64ab0a6b0bf0315a2617661.tar.xz anaconda-25e25f4c73bd63ceb64ab0a6b0bf0315a2617661.zip |
add beta nag screen
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/packages.py b/packages.py index b28e41233..b0ed728d1 100644 --- a/packages.py +++ b/packages.py @@ -935,3 +935,34 @@ def depmodModules(comps, instPath): "-F", "/boot/System.map-" + version ], root = instPath, stderr = '/dev/null') + +def betaNagScreen(intf, dir): + if dir == DISPATCH_BACK: + return DISPATCH_NOOP + + while 1: + rc = intf.messageWindow( _("Warning! This is a beta!"), + _("Thank you for downloading this " + "Red Hat Beta release.\n\n" + "As you know, this is not a final " + "release and is not intended for use " + "on production systems. The purpose of " + "this release is to collect feedback " + "from testers, and it is not suitable " + "for day to day usage." + "\n\n" + "If you do not want to install unstable " + "software on this system, " + "please choose 'Exit' now."), + type="custom", custom_icon="warning", + custom_buttons=[_("_Exit"), _("_Install BETA")]) + + if not rc: + rc = intf.messageWindow( _("Rebooting System"), + _("Your system will now be rebooted..."), + type="custom", custom_icon="warning", + custom_buttons=[_("_Back"), _("_Reboot")]) + if rc: + sys.exit(0) + else: + break |