diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-05-18 22:21:13 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-05-18 22:21:13 +0000 |
commit | b6a4e9f954c274b7731371ed2107961cf9272d59 (patch) | |
tree | dc5ecbca0f6a63faad4130f796a280092fadfab8 /gui.py | |
parent | fe2492b2deeaa9e55cd9da53c1fd71a93d5b7549 (diff) | |
download | anaconda-b6a4e9f954c274b7731371ed2107961cf9272d59.tar.gz anaconda-b6a4e9f954c274b7731371ed2107961cf9272d59.tar.xz anaconda-b6a4e9f954c274b7731371ed2107961cf9272d59.zip |
the start of better kickstart error handling. create KickstartError class
and raise that on kickstart errors. provide basic intf kickstartWindow
methods
don't pass intf in yet, because this is before the intf is up and running,
so we can't use it
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -634,6 +634,15 @@ class InstallInterface: win = ExceptionWindow (text) return win.getrc () + def kickstartErrorWindow(self, text): + s = _("The following error was found while parsing your " + "kickstart configuration:n\n%s") %(text,) + return self.messageWindow(_("Error Parsing Kickstart Config"), + s, + type = "custom", + custom_buttons = [_("_Reboot")] + custom_icon = "error") + def dumpWindow(self): window = MessageWindow("Save Crash Dump", _("Please insert a floppy now. All contents " |