summaryrefslogtreecommitdiff
path: root/framework/util
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2016-08-06 23:31:18 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2016-08-22 19:38:25 +0000
commitdabb20ebd5fa3b0d4bdb063b32f6ffbe2f59c3a2 (patch)
treeabea74259c8b66cb30037401e2718add4b32cb44 /framework/util
parentfc185fd35360a84136dd834bfdcd2e522350999a (diff)
GSoC: tdf#101249 Toolbar Mode switching
+ added registry entry for storing current toolbar mode for each application + registry entries to store toolbar mode configuration, remember additional visible toolbars activated by user + changing toolbar mode hides and shows suitable toolbars + added menu controller for toolbar mode + notebookbar implementation entries are disabled when notebookbar mode is not active + each mode can open/collapse the sidebar Change-Id: I2b03f87c6dce53190d12102892d9ad30fbfd3bf6 Reviewed-on: https://gerrit.libreoffice.org/27991 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'framework/util')
-rw-r--r--framework/util/fwl.component3
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/util/fwl.component b/framework/util/fwl.component
index 7e8fa1b140e7..b7a56dc96f7a 100644
--- a/framework/util/fwl.component
+++ b/framework/util/fwl.component
@@ -61,6 +61,9 @@
<implementation name="com.sun.star.comp.framework.ServiceHandler">
<service name="com.sun.star.frame.ProtocolHandler"/>
</implementation>
+ <implementation name="com.sun.star.comp.framework.ToolbarModeMenuController">
+ <service name="com.sun.star.frame.PopupMenuController"/>
+ </implementation>
<implementation name="com.sun.star.comp.framework.ToolBarsMenuController">
<service name="com.sun.star.frame.PopupMenuController"/>
</implementation>