cui/source/customize/cfg.cxx |    8 ++++++++
 cui/source/inc/helpid.hrc    |    8 ++++++++
 2 files changed, 16 insertions(+)

New commits:
commit 327eb92b4f2a6cc08a837d5427d360cb0cc16635
Author: Gabor Kelemen <kelem...@ubuntu.com>
Date:   Tue Apr 11 00:17:32 2017 +0200

    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 <c...@libreoffice.org>
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>

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"
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to