diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2017-04-11 00:17:32 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-04-27 12:31:47 +0200 |
commit | 327eb92b4f2a6cc08a837d5427d360cb0cc16635 (patch) | |
tree | 466c7787a080054b5cf533a8fb85e8e742a3528a /cui | |
parent | e5b1c5374464f6f86b3d331fb89c0e126008136a (diff) |
Add custom HIDs for Customize - Toolbars page
All items should have one as this page is reusing
the ui file of the Menus page
Change-Id: I9b691db70391eda90035761098ebc4d91d6a5b5b
Reviewed-on: https://gerrit.libreoffice.org/36397
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/cfg.cxx | 8 | ||||
-rw-r--r-- | cui/source/inc/helpid.hrc | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 1733de47707d..438c13e7b630 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -3033,14 +3033,22 @@ SvxToolbarConfigPage::SvxToolbarConfigPage(vcl::Window *pParent, const SfxItemSe m_pContentsListBox->set_vexpand(true); m_pContentsListBox->Show(); + m_pTopLevelListBox->SetHelpId ( HID_SVX_TOPLEVELLISTBOX ); + m_pIconsOnlyRB->SetHelpId ( HID_SVX_ICONSONLY ); + m_pTextOnlyRB->SetHelpId ( HID_SVX_TEXTONLY ); + m_pIconsAndTextRB->SetHelpId ( HID_SVX_ICONSANDTEXT ); m_pContentsListBox->SetHelpId( HID_SVX_CONFIG_TOOLBAR_CONTENTS ); m_pNewTopLevelButton->SetHelpId( HID_SVX_NEW_TOOLBAR ); m_pModifyTopLevelButton->SetHelpId( HID_SVX_MODIFY_TOOLBAR ); m_pAddCommandsButton->SetHelpId( HID_SVX_NEW_TOOLBAR_ITEM ); + m_pAddSeparatorButton->SetHelpId ( HID_SVX_ADD_SEPARATOR ); m_pModifyCommandButton->SetHelpId( HID_SVX_MODIFY_TOOLBAR_ITEM ); + m_pDeleteCommandButton->SetHelpId ( HID_SVX_REMOVEBUTTON ); + m_pResetTopLevelButton->SetHelpId ( HID_SVX_RESETBUTTON ); m_pSaveInListBox->SetHelpId( HID_SVX_SAVE_IN ); m_pMoveUpButton->SetHelpId( HID_SVX_UP_TOOLBAR_ITEM ); m_pMoveDownButton->SetHelpId( HID_SVX_DOWN_TOOLBAR_ITEM ); + m_pDescriptionField->SetHelpId ( HID_SVX_DESCFIELD ); m_pTopLevel->set_label(CUI_RES(RID_SVXSTR_PRODUCTNAME_TOOLBARS)); diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc index 479db0d2ac6c..6ac5734602ba 100644 --- a/cui/source/inc/helpid.hrc +++ b/cui/source/inc/helpid.hrc @@ -43,6 +43,14 @@ #define HID_SVX_UP_TOOLBAR_ITEM "CUI_HID_SVX_UP_TOOLBAR_ITEM" #define HID_SVX_DOWN_TOOLBAR_ITEM "CUI_HID_SVX_DOWN_TOOLBAR_ITEM" #define HID_SVX_SAVE_IN "CUI_HID_SVX_SAVE_IN" +#define HID_SVX_TOPLEVELLISTBOX "CUI_HID_SVX_TOPLEVELLISTBOX" +#define HID_SVX_ICONSONLY "CUI_HID_SVX_ICONSONLY" +#define HID_SVX_TEXTONLY "CUI_HID_SVX_TEXTONLY" +#define HID_SVX_ICONSANDTEXT "CUI_HID_SVX_ICONSANDTEXT" +#define HID_SVX_ADD_SEPARATOR "CUI_HID_SVX_ADD_SEPARATOR" +#define HID_SVX_RESETBUTTON "CUI_HID_SVX_RESETBUTTON" +#define HID_SVX_REMOVEBUTTON "CUI_HID_SVX_REMOVEBUTTON" +#define HID_SVX_DESCFIELD "CUI_HID_SVX_DESCFIELD" #define HID_ICCDIALOG_RESET_BTN "CUI_HID_ICCDIALOG_RESET_BTN" #define HID_ICCDIALOG_CHOICECTRL "CUI_HID_ICCDIALOG_CHOICECTRL" #define HID_HYPERDLG_INET_PATH "CUI_HID_HYPERDLG_INET_PATH" |