[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Add detailedMessageWindow to the cmdline class (#499700).
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] Add detailedMessageWindow to the cmdline class (#499700).
- Date: Thu, 7 May 2009 15:26:12 -0400
---
cmdline.py | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/cmdline.py b/cmdline.py
index 2540d9b..d1bd402 100644
--- a/cmdline.py
+++ b/cmdline.py
@@ -89,7 +89,7 @@ class InstallInterface:
while 1:
time.sleep(5)
-
+
def messageWindow(self, title, text, type="ok", default = None,
custom_icon = None, custom_buttons = []):
if type == "ok":
@@ -104,6 +104,12 @@ class InstallInterface:
while 1:
time.sleep(5)
+ def detailedMessageWindow(self, title, text, longText=None, type="ok",
+ default=None, custom_buttons=None,
+ custom_icon=None):
+ self.messageWindow(title, text, type=type, default=default,
+ custom_buttons=custom_buttons, custom_icon=custom_icon)
+
def passphraseEntryWindow(self, device):
print(_("Can't have a question in command line mode!"))
print("(passphraseEntryWindow: '%s')" % device)
--
1.6.1.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]