cui/source/customize/cfg.cxx | 1 + cui/uiconfig/ui/menuassignpage.ui | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-)
New commits: commit 86b160886f6d5580a84f5008682cc93fa8c63e39 Author: Muhammet Kara <muhammet.k...@pardus.org.tr> Date: Fri Mar 16 16:40:59 2018 +0300 tdf#115511: Make the description field keyboard-accessible in the Customize dialog. By setting an accelerator key, and also manually setting the WB_TABSTOP bit to include it in the tab navigation. Change-Id: I02ce9e2e78404401c9fc124df07f4f0c0b1e110e Reviewed-on: https://gerrit.libreoffice.org/51426 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.he...@gmail.com> Tested-by: Heiko Tietze <tietze.he...@gmail.com> diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 515088d11916..078a06c16c77 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -1167,6 +1167,7 @@ SvxConfigPage::SvxConfigPage(vcl::Window *pParent, const SfxItemSet& rSet) m_pDescriptionField->SetControlBackground( GetSettings().GetStyleSettings().GetDialogColor() ); m_pDescriptionField->EnableCursor( false ); + m_pDescriptionField->SetStyle( m_pDescriptionField->GetStyle() | WB_TABSTOP ); // Include in the tab sequence m_pSearchEdit->SetUpdateDataHdl ( LINK( this, SvxConfigPage, SearchUpdateHdl )); m_pSearchEdit->EnableUpdateData(); diff --git a/cui/uiconfig/ui/menuassignpage.ui b/cui/uiconfig/ui/menuassignpage.ui index 425d0c2f84a4..fcaaf20f71d7 100644 --- a/cui/uiconfig/ui/menuassignpage.ui +++ b/cui/uiconfig/ui/menuassignpage.ui @@ -107,6 +107,9 @@ <property name="editable">False</property> <property name="cursor_visible">False</property> <property name="accepts_tab">False</property> + <accessibility> + <relation type="labelled-by" target="descriptionlabel"/> + </accessibility> </object> </child> </object> @@ -121,7 +124,12 @@ <property name="can_focus">False</property> <property name="halign">start</property> <property name="valign">start</property> - <property name="label" translatable="yes" context="menuassignpage|label33">Description</property> + <property name="label" translatable="yes" context="menuassignpage|label33">D_escription</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">desc:border</property> + <accessibility> + <relation type="label-for" target="desc:border"/> + </accessibility> </object> <packing> <property name="left_attach">0</property> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits