[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Add more windows to the rescue interface class (#498014).
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] Add more windows to the rescue interface class (#498014).
- Date: Tue, 28 Apr 2009 10:21:25 -0400
---
rescue.py | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/rescue.py b/rescue.py
index 707f3be..533dde1 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
--
1.6.1.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]