diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2021-05-19 13:21:00 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2021-06-08 15:28:56 +0200 |
commit | 086fa727cabf46eacfec1a0fd4f6dfe916aa2f04 (patch) | |
tree | d17d263a3f2eef1b9c0d39ffd08e751c3f2fa105 /sfx2/sdi/sfx.sdi | |
parent | a2d8a737f41cbb0ed8a51a99b1c233b25e433d1c (diff) |
Resolves tdf#131817 - Option to globally switch toolbar locking on/off
Reverts 6993d5d0f1079fe720a7da004b70b57361c99fc6 and
sets Locked in GlobalSettings to true
New UNO command ToolbarLock to toggle the state added to
the toolbars menu
Change-Id: I246280b2b7930f2bf686e6fc26383da4799b5028
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115797
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sfx2/sdi/sfx.sdi')
-rw-r--r-- | sfx2/sdi/sfx.sdi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index 90ed30a62f92..79476c68fa7f 100644 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -5754,3 +5754,19 @@ SfxVoidItem AdditionsDialog SID_ADDITIONS_DIALOG ToolBoxConfig = TRUE, GroupId = SfxGroupId::Application; ] + +SfxBoolItem ToolbarLock SID_TOOLBAR_LOCK +[ + AutoUpdate = TRUE, + FastCall = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = FALSE, + MenuConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = SfxGroupId::Application; +] |