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

Re: [PATCH 1/2] For cmdline mode, add the long text to what messageWindow will print (#528006).



Ack.

On 10/15/2009 06:01 PM, Chris Lumens wrote:
---
  cmdline.py |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/cmdline.py b/cmdline.py
index 5fe9d20..310dc76 100644
--- a/cmdline.py
+++ b/cmdline.py
@@ -107,6 +107,9 @@ class InstallInterface:
      def detailedMessageWindow(self, title, text, longText=None, type="ok",
                                default=None, custom_buttons=None,
                                custom_icon=None):
+        if longText:
+            text += "\n\n%s" % longText
+
          self.messageWindow(title, text, type=type, default=default,
                             custom_buttons=custom_buttons, custom_icon=custom_icon)



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