diff options
author | Chris Lumens <clumens@redhat.com> | 2009-05-07 15:25:41 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-05-07 18:59:37 -0400 |
commit | b223ee5c2a42b702911f110e4bb8632627396a99 (patch) | |
tree | 3f2a970a32bfeb1c5ef7e48e5fade43f36e6b5cf /cmdline.py | |
parent | ccf469e79699c3cf85ea35cdafe9998d1ee05f5e (diff) | |
download | anaconda-b223ee5c2a42b702911f110e4bb8632627396a99.tar.gz anaconda-b223ee5c2a42b702911f110e4bb8632627396a99.tar.xz anaconda-b223ee5c2a42b702911f110e4bb8632627396a99.zip |
Add detailedMessageWindow to the cmdline class (#499700).
Diffstat (limited to 'cmdline.py')
-rw-r--r-- | cmdline.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cmdline.py b/cmdline.py index 2540d9b9f..d1bd4028f 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) |