summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-06-17 21:03:56 +0000
committerErik Troan <ewt@redhat.com>2000-06-17 21:03:56 +0000
commita5e102dd563cce468200371220b4f2f643967594 (patch)
treee73f879974208141f21521adcddc945c11752c22 /text.py
parentfda20fb5105067985048becd486c8c8eb6e2aff1 (diff)
downloadanaconda-a5e102dd563cce468200371220b4f2f643967594.tar.gz
anaconda-a5e102dd563cce468200371220b4f2f643967594.tar.xz
anaconda-a5e102dd563cce468200371220b4f2f643967594.zip
dumps work in text mode
Diffstat (limited to 'text.py')
-rw-r--r--text.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/text.py b/text.py
index 177b1f5dd..023c5a4f4 100644
--- a/text.py
+++ b/text.py
@@ -777,6 +777,17 @@ class InstallInterface:
def messageWindow(self, title, text):
ButtonChoiceWindow(self.screen, _(title), _(text),
buttons = [ _("OK") ])
+
+ def dumpWindow(self):
+ rc = ButtonChoiceWindow(self.screen, _("Save Crash Dump"),
+ _("Please insert a floppy now. All contents of the disk "
+ "will be erased, so please choose your diskette carefully."),
+ [ _("OK"), _("Cancel") ])
+
+ if rc == string.lower (_("Cancel")):
+ return 1
+
+ return 0
def exceptionWindow(self, title, text):
ugh = _("An internal error occured in the installation program. "