[Libreoffice-commits] core.git: 2 commits - cui/source cui/uiconfig svx/source
Caolán McNamara
caolanm at redhat.com
Fri May 31 04:35:23 PDT 2013
cui/source/tabpages/paragrph.cxx | 3 ---
cui/uiconfig/ui/paragalignpage.ui | 5 +++++
cui/uiconfig/ui/paraindentspacing.ui | 5 +++++
svx/source/dialog/frmdirlbox.cxx | 4 +++-
4 files changed, 13 insertions(+), 4 deletions(-)
New commits:
commit c3cdc78e885d63aa4993c63b14fc034d1880d066
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri May 31 12:33:59 2013 +0100
set accessibility name for previews via .ui
Change-Id: I4abf90f43a8278e3c115a809deb1a8096f21c685
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index ff9d71b..b910f7a 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -678,9 +678,6 @@ SvxStdParagraphTabPage::SvxStdParagraphTabPage( Window* pParent, const SfxItemS
Init_Impl();
m_pFLineIndent->SetMin(-9999); // is set to 0 on default
-
- //aExampleWin.SetAccessibleName(String(CUI_RES(STR_EXAMPLE)));
-
}
SvxStdParagraphTabPage::~SvxStdParagraphTabPage()
diff --git a/cui/uiconfig/ui/paragalignpage.ui b/cui/uiconfig/ui/paragalignpage.ui
index caa1f06..178f7c3 100644
--- a/cui/uiconfig/ui/paragalignpage.ui
+++ b/cui/uiconfig/ui/paragalignpage.ui
@@ -25,6 +25,11 @@
<property name="valign">start</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="drawingareaWN_EXAMPLE-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes">Example</property>
+ </object>
+ </child>
</object>
</child>
</object>
diff --git a/cui/uiconfig/ui/paraindentspacing.ui b/cui/uiconfig/ui/paraindentspacing.ui
index df44c1a..5016684 100644
--- a/cui/uiconfig/ui/paraindentspacing.ui
+++ b/cui/uiconfig/ui/paraindentspacing.ui
@@ -475,6 +475,11 @@
<property name="valign">start</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="drawingareaWN_EXAMPLE-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes">Example</property>
+ </object>
+ </child>
</object>
</child>
</object>
commit c799a1e5522971405fa45d3df7ebf259229df63e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri May 31 12:29:43 2013 +0100
autosize the frame direction listbox
Change-Id: I440ca0255a6079c28b2314b12511c6c41d6a05f5
diff --git a/svx/source/dialog/frmdirlbox.cxx b/svx/source/dialog/frmdirlbox.cxx
index 7de9437..ad1697d 100644
--- a/svx/source/dialog/frmdirlbox.cxx
+++ b/svx/source/dialog/frmdirlbox.cxx
@@ -56,7 +56,9 @@ FrameDirectionListBox::~FrameDirectionListBox()
extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeFrameDirectionListBox(Window *pParent, VclBuilder::stringmap &)
{
- return new FrameDirectionListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_TABSTOP);
+ FrameDirectionListBox* pListBox = new FrameDirectionListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_TABSTOP);
+ pListBox->EnableAutoSize(true);
+ return pListBox;
}
More information about the Libreoffice-commits
mailing list