vcl/source/window/window2.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit b10eab30e1a6fcff8b6f1dbd3bede24d0c9c96f9
Author: Caolán McNamara <caol...@redhat.com>
Date:   Mon Sep 17 12:57:19 2012 +0100

    implement setting Dialog title property
    
    Change-Id: Ic3088f75c3aec57fa8b60a59f806f8396cdcf09c

diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 73eff89..88e10bd 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -1958,6 +1958,8 @@ bool Window::set_property(const rtl::OString &rKey, const 
rtl::OString &rValue)
 {
     if (rKey.equalsL(RTL_CONSTASCII_STRINGPARAM("label")))
         SetText(rtl::OStringToOUString(rValue, RTL_TEXTENCODING_UTF8));
+    else if (rKey.equalsL(RTL_CONSTASCII_STRINGPARAM("title")))
+        SetText(rtl::OStringToOUString(rValue, RTL_TEXTENCODING_UTF8));
     else if (rKey.equalsL(RTL_CONSTASCII_STRINGPARAM("visible")))
         Show(toBool(rValue));
     else if (rKey.equalsL(RTL_CONSTASCII_STRINGPARAM("sensitive")))
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to