[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - librelogo/source

László Németh nemeth at numbertext.org
Tue Jan 7 01:27:43 PST 2014


 librelogo/source/LibreLogo/LibreLogo.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ca3006cea58d2b35e773e6954e80b1c16bf0c379
Author: László Németh <nemeth at numbertext.org>
Date:   Tue Jan 7 10:11:53 2014 +0100

    librelogo: fix messagebox (API changes)
    
    Change-Id: I7fe8c26b7ca93319658c14abd1142f1623141ce8

diff --git a/librelogo/source/LibreLogo/LibreLogo.py b/librelogo/source/LibreLogo/LibreLogo.py
index e2fb718..7b5930b 100644
--- a/librelogo/source/LibreLogo/LibreLogo.py
+++ b/librelogo/source/LibreLogo/LibreLogo.py
@@ -275,9 +275,9 @@ def MessageBox(parent, message, title, msgtype = "messbox", buttons = __OK__):
     d.WindowAttributes = buttons
     tk = parent.getToolkit()
     msgbox = tk.createWindow(d)
-    msgbox.setMessageText(message)
+    msgbox.MessageText = message
     if title:
-        msgbox.setCaptionText(title)
+        msgbox.CaptionText = title
     return msgbox.execute()
 
 def Random(r):


More information about the Libreoffice-commits mailing list