summaryrefslogtreecommitdiff
path: root/cui/source/inc/SvxToolbarConfigPage.hxx
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2017-08-17 06:48:08 +0300
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-09-04 22:39:46 +0200
commitc525dc764114f45ec9ff33837e8ae7cb74ce72b1 (patch)
tree7b029314471346b747e5da16b363a5415f445173 /cui/source/inc/SvxToolbarConfigPage.hxx
parent3e4de4d63c897fdaa885909f7abb1b3f111458d2 (diff)
Implement "Add" button in the Customize dialog
Now new commands can be added to Toolbars, Menus, and Context Menus by using the Add (right arrow) button which is between the commands list and the menu/toolbar entries list. Change-Id: I9c094a5142f82922c5e5bc3075a35442875a5fec Reviewed-on: https://gerrit.libreoffice.org/41240 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'cui/source/inc/SvxToolbarConfigPage.hxx')
-rw-r--r--cui/source/inc/SvxToolbarConfigPage.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/cui/source/inc/SvxToolbarConfigPage.hxx b/cui/source/inc/SvxToolbarConfigPage.hxx
index 21d63fbe81ff..e4721553477f 100644
--- a/cui/source/inc/SvxToolbarConfigPage.hxx
+++ b/cui/source/inc/SvxToolbarConfigPage.hxx
@@ -53,11 +53,13 @@ private:
DECL_LINK( SelectToolbar, ListBox&, void );
DECL_LINK( SelectToolbarEntry, SvTreeListBox*, void );
- DECL_LINK( AddFunctionHdl, SvxScriptSelectorDialog&, void );
DECL_LINK( MoveHdl, Button *, void );
DECL_LINK( SelectCategory, ListBox&, void );
+ DECL_LINK( AddCommandHdl, Button *, void );
+ //DECL_LINK( RemoveCommandHdl, Button *, void );
+
void UpdateButtonStates() override;
short QueryReset() override;
void Init() override;