summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-04-28 10:20:43 -0400
committerChris Lumens <clumens@redhat.com>2009-04-28 13:26:29 -0400
commit7e7ab0623d82398d8a082147feecc10239ecf0c2 (patch)
tree42ef81ab05550485f54d9bd7d785b7bbcc2ceed5 /rescue.py
parent7881594951697759aa6d0b0b9b4a5e6d24c27ef1 (diff)
downloadanaconda-7e7ab0623d82398d8a082147feecc10239ecf0c2.tar.gz
anaconda-7e7ab0623d82398d8a082147feecc10239ecf0c2.tar.xz
anaconda-7e7ab0623d82398d8a082147feecc10239ecf0c2.zip
Add more windows to the rescue interface class (#498014).
Diffstat (limited to 'rescue.py')
-rw-r--r--rescue.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/rescue.py b/rescue.py
index f34a77c48..665c56c04 100644
--- a/rescue.py
+++ b/rescue.py
@@ -48,6 +48,12 @@ class RescueInterface:
def progressWindow(self, title, text, total):
return ProgressWindow(self.screen, title, text, total)
+ def detailedMessageWindow(self, title, text, longText=None, type="ok",
+ default=None, custom_icon=None,
+ custom_buttons=[]):
+ return self.messageWindow(title, text, type, default, custom_icon,
+ custom_buttons)
+
def messageWindow(self, title, text, type = "ok", default = None,
custom_icon=None, custom_buttons=[]):
if type == "ok":
@@ -95,6 +101,15 @@ class RescueInterface:
w.pop()
return (passphrase, isglobal)
+ def shutdown (self):
+ pass
+
+ def suspend(self):
+ pass
+
+ def resume(self):
+ pass
+
def __init__(self, screen):
self.screen = screen