diff options
author | Chris Lumens <clumens@redhat.com> | 2009-04-28 10:20:43 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-04-28 13:26:29 -0400 |
commit | 7e7ab0623d82398d8a082147feecc10239ecf0c2 (patch) | |
tree | 42ef81ab05550485f54d9bd7d785b7bbcc2ceed5 /rescue.py | |
parent | 7881594951697759aa6d0b0b9b4a5e6d24c27ef1 (diff) | |
download | anaconda-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.py | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |