diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-24 10:51:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-24 10:51:00 +0000 |
commit | 557f75e7e1c1603f4fed9f0535c9cfda2a447569 (patch) | |
tree | 721e4b45b48bb3d909c4d9d9a460478f5f9f4f90 /cui | |
parent | 4b4cb23d22f99efc445be974c05030b23bc7d3d0 (diff) |
set mnemonic widgets for background page
Change-Id: I977d8d7f1d14ea6616cf4dc3dc49d201804b7c39
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/backgrnd.cxx | 4 | ||||
-rw-r--r-- | cui/uiconfig/ui/backgroundpage.ui | 2 |
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> |