[Libreoffice-commits] core.git: sw/source

navin patidar patidar at kacst.edu.sa
Sat Mar 23 00:08:49 PDT 2013


 sw/source/ui/docvw/SidebarWin.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit a56a162e66269bfe39ba76bacc51efe4cff314da
Author: navin patidar <patidar at kacst.edu.sa>
Date:   Sat Mar 23 09:49:46 2013 +0300

    In writer’s RTL UI show author name and date at right side of comment window
    
    Change-Id: Ie15482e9953d14927b4f918c43537100a8332689
    Reviewed-on: https://gerrit.libreoffice.org/2923
    Reviewed-by: Ahmad Harthi <aalharthi at kacst.edu.sa>
    Tested-by: Ahmad Harthi <aalharthi at kacst.edu.sa>

diff --git a/sw/source/ui/docvw/SidebarWin.cxx b/sw/source/ui/docvw/SidebarWin.cxx
index a848fb6..45f367d 100644
--- a/sw/source/ui/docvw/SidebarWin.cxx
+++ b/sw/source/ui/docvw/SidebarWin.cxx
@@ -278,6 +278,7 @@ void SwSidebarWin::InitControls()
     // window controls for author and date
     mpMetadataAuthor = new Edit( this, 0 );
     mpMetadataAuthor->SetAccessibleName( SW_RES( STR_ACCESS_ANNOTATION_AUTHOR_NAME ) );
+    mpMetadataAuthor->EnableRTL(Application::GetSettings().GetLayoutRTL());
     mpMetadataAuthor->SetReadOnly();
     mpMetadataAuthor->AlwaysDisableInput(true);
     mpMetadataAuthor->SetCallHandlersOnInputDisabled(true);
@@ -296,6 +297,7 @@ void SwSidebarWin::InitControls()
 
     mpMetadataDate = new Edit( this, 0 );
     mpMetadataDate->SetAccessibleName( SW_RES( STR_ACCESS_ANNOTATION_DATE_NAME ) );
+    mpMetadataDate->EnableRTL(Application::GetSettings().GetLayoutRTL());
     mpMetadataDate->SetReadOnly();
     mpMetadataDate->AlwaysDisableInput(true);
     mpMetadataDate->SetCallHandlersOnInputDisabled(true);


More information about the Libreoffice-commits mailing list