summaryrefslogtreecommitdiff
path: root/loleaflet
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2020-09-15 22:04:52 +0200
committerJan Holesovsky <kendy@collabora.com>2020-09-17 15:03:54 +0200
commit49cdd8cafd87cc36017fb3407d49b52dadc43dad (patch)
treee5eeb6f3c363437dec14b3b77fbf064ca0042310 /loleaflet
parentfb0deb2a13c00f8792370b309b68bf0343246231 (diff)
split panes: Don't expose the freeze panes buttons in the toolbar.
The split panes are not modified that often, no need to have buttons to set that up in the toolbar. Change-Id: I9c7920f6dd57de5f507450e15fcde615ad941f1c
Diffstat (limited to 'loleaflet')
-rw-r--r--loleaflet/src/control/Control.TopToolbar.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/loleaflet/src/control/Control.TopToolbar.js b/loleaflet/src/control/Control.TopToolbar.js
index 027131dbc..29cf538d4 100644
--- a/loleaflet/src/control/Control.TopToolbar.js
+++ b/loleaflet/src/control/Control.TopToolbar.js
@@ -217,10 +217,6 @@ L.Control.TopToolbar = L.Control.extend({
{type: 'drop', id: 'insertshapes', img: 'basicshapes_ellipse', hint: _('Insert shapes'), overlay: {onShow: window.insertShapes}, html: window.getShapesPopupHtml()},
{type: 'button', id: 'link', img: 'link', hint: _UNO('.uno:HyperlinkDialog', '', true), disabled: true},
{type: 'button', id: 'insertsymbol', img: 'insertsymbol', hint: _UNO('.uno:InsertSymbol', '', true), uno: 'InsertSymbol'},
- {type: 'break', id: 'breakobject', hidden: true},
- {type: 'button', id: 'freezepanes', img: 'freezepanes', hint: _UNO('.uno:FreezePanes', 'spreadsheet', true), hidden: true, uno:'FreezePanes'},
- {type: 'button', id: 'freezepanescolumn',img: 'freezepanescolumn', hint: _UNO('.uno:FreezePanesColumn', 'spreadsheet', true), uno: 'FreezePanesColumn'},
- {type: 'button', id: 'freezepanesrow', img: 'freezepanesrow', hint: _UNO('.uno:FreezePanesRow', 'spreadsheet', true), uno: 'FreezePanesRow'},
{type: 'spacer'},
{type: 'button', id: 'edit', img: 'edit'},
{type: 'button', id: 'sidebar', img: 'sidebar_modify_page', hint: _UNO('.uno:Sidebar', '', true), uno: '.uno:Sidebar', hidden: true},
@@ -279,7 +275,7 @@ L.Control.TopToolbar = L.Control.extend({
case 'spreadsheet':
if (toolbarUp) {
toolbarUp.show('textalign', 'wraptext', 'breakspacing', 'insertannotation', 'conditionalformaticonset',
- 'numberformatcurrency', 'numberformatpercent', 'breakobject', 'freezepanes',
+ 'numberformatcurrency', 'numberformatpercent',
'numberformatincdecimals', 'numberformatdecdecimals', 'break-number', 'togglemergecells', 'breakmergecells',
'setborderstyle', 'sortascending', 'sortdescending', 'breaksorting', 'backgroundcolor', 'breaksidebar', 'sidebar');
toolbarUp.remove('styles');