[Libreoffice-commits] .: cui/source cui/uiconfig
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Jan 24 02:51:28 PST 2013
cui/source/tabpages/backgrnd.cxx | 4 +++-
cui/uiconfig/ui/backgroundpage.ui | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 557f75e7e1c1603f4fed9f0535c9cfda2a447569
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 24 10:51:00 2013 +0000
set mnemonic widgets for background page
Change-Id: I977d8d7f1d14ea6616cf4dc3dc49d201804b7c39
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index afad498..74fa10d 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -1530,6 +1530,7 @@ void SvxBackgroundTabPage::ShowTblControl()
m_pTblLBox->SelectEntryPos(0);
m_pTblDesc->Show();
m_pTblLBox->Show();
+ m_pTblDesc->set_mnemonic_widget(m_pTblLBox);
}
//-----------------------------------------------------------------------
@@ -1538,10 +1539,11 @@ void SvxBackgroundTabPage::ShowParaControl(sal_Bool bCharOnly)
{
m_pParaLBox->SetSelectHdl(HDL(ParaDestinationHdl_Impl));
m_pParaLBox->SelectEntryPos(0);
- if(!bCharOnly)
+ if (!bCharOnly)
{
m_pTblDesc->Show();
m_pParaLBox->Show();
+ m_pTblDesc->set_mnemonic_widget(m_pParaLBox);
}
m_pParaLBox->SetData(m_pParaLBox); // here it can be recognized that this mode is turned on
}
diff --git a/cui/uiconfig/ui/backgroundpage.ui b/cui/uiconfig/ui/backgroundpage.ui
index 462cb13..b0fc516 100644
--- a/cui/uiconfig/ui/backgroundpage.ui
+++ b/cui/uiconfig/ui/backgroundpage.ui
@@ -27,6 +27,7 @@
<property name="no_show_all">True</property>
<property name="label" translatable="yes">A_s</property>
<property name="use_underline">True</property>
+ <property name="mnemonic_widget">selectlb</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -173,6 +174,7 @@
<property name="no_show_all">True</property>
<property name="label" translatable="yes">_Transparency</property>
<property name="use_underline">True</property>
+ <property name="mnemonic_widget">transparencymf:0%</property>
</object>
<packing>
<property name="left_attach">0</property>
More information about the Libreoffice-commits
mailing list