summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-01-24 10:51:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-01-24 10:51:00 +0000
commit557f75e7e1c1603f4fed9f0535c9cfda2a447569 (patch)
tree721e4b45b48bb3d909c4d9d9a460478f5f9f4f90 /cui
parentset mnemonic widgets on format table page (diff)
downloadcore-557f75e7e1c1603f4fed9f0535c9cfda2a447569.tar.gz
core-557f75e7e1c1603f4fed9f0535c9cfda2a447569.zip
set mnemonic widgets for background page
Change-Id: I977d8d7f1d14ea6616cf4dc3dc49d201804b7c39
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/backgrnd.cxx4
-rw-r--r--cui/uiconfig/ui/backgroundpage.ui2
2 files changed, 5 insertions, 1 deletions
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index afad498a15fc..74fa10d4a74c 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 462cb1369e31..b0fc5169d923 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>