[PATCH] Add detailedMessageWindow to the cmdline class (#499700).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux