Kaydet (Commit) 557f75e7 authored tarafından Caolán McNamara's avatar Caolán McNamara

set mnemonic widgets for background page

Change-Id: I977d8d7f1d14ea6616cf4dc3dc49d201804b7c39
üst 4b4cb23d
...@@ -1530,6 +1530,7 @@ void SvxBackgroundTabPage::ShowTblControl() ...@@ -1530,6 +1530,7 @@ void SvxBackgroundTabPage::ShowTblControl()
m_pTblLBox->SelectEntryPos(0); m_pTblLBox->SelectEntryPos(0);
m_pTblDesc->Show(); m_pTblDesc->Show();
m_pTblLBox->Show(); m_pTblLBox->Show();
m_pTblDesc->set_mnemonic_widget(m_pTblLBox);
} }
//----------------------------------------------------------------------- //-----------------------------------------------------------------------
...@@ -1538,10 +1539,11 @@ void SvxBackgroundTabPage::ShowParaControl(sal_Bool bCharOnly) ...@@ -1538,10 +1539,11 @@ void SvxBackgroundTabPage::ShowParaControl(sal_Bool bCharOnly)
{ {
m_pParaLBox->SetSelectHdl(HDL(ParaDestinationHdl_Impl)); m_pParaLBox->SetSelectHdl(HDL(ParaDestinationHdl_Impl));
m_pParaLBox->SelectEntryPos(0); m_pParaLBox->SelectEntryPos(0);
if(!bCharOnly) if (!bCharOnly)
{ {
m_pTblDesc->Show(); m_pTblDesc->Show();
m_pParaLBox->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 m_pParaLBox->SetData(m_pParaLBox); // here it can be recognized that this mode is turned on
} }
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
<property name="no_show_all">True</property> <property name="no_show_all">True</property>
<property name="label" translatable="yes">A_s</property> <property name="label" translatable="yes">A_s</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="mnemonic_widget">selectlb</property>
</object> </object>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
...@@ -173,6 +174,7 @@ ...@@ -173,6 +174,7 @@
<property name="no_show_all">True</property> <property name="no_show_all">True</property>
<property name="label" translatable="yes">_Transparency</property> <property name="label" translatable="yes">_Transparency</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="mnemonic_widget">transparencymf:0%</property>
</object> </object>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment