summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-05-18 22:21:13 +0000
committerJeremy Katz <katzj@redhat.com>2004-05-18 22:21:13 +0000
commitb6a4e9f954c274b7731371ed2107961cf9272d59 (patch)
treedc5ecbca0f6a63faad4130f796a280092fadfab8 /gui.py
parentfe2492b2deeaa9e55cd9da53c1fd71a93d5b7549 (diff)
downloadanaconda-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-xgui.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/gui.py b/gui.py
index 66066a613..e60333cb0 100755
--- a/gui.py
+++ b/gui.py
@@ -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 "