loleaflet/src/control/Control.Toolbar.js | 3 +-- loleaflet/src/layer/tile/WriterTileLayer.js | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-)
New commits: commit c0252cc2814a0201d79ee16102f603ea0181edfd Author: Muhammet Kara <muhammet.k...@collabora.com> AuthorDate: Sat Jan 25 04:18:50 2020 +0300 Commit: Aron Budea <aron.bu...@collabora.com> CommitDate: Mon Jan 27 13:45:53 2020 +0100 Remove uno:ToggleOrientation from toolbars Since the Orientation commands (Portrait and Landscape) can now be accessed from the hamburger menu. Change-Id: I5d07a6ac8df3e5f4e28dbd5a71d58bde5613251a Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87371 Reviewed-by: Aron Budea <aron.bu...@collabora.com> Tested-by: Aron Budea <aron.bu...@collabora.com> diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js index 3519cf447..c9bd08a6e 100644 --- a/loleaflet/src/control/Control.Toolbar.js +++ b/loleaflet/src/control/Control.Toolbar.js @@ -958,7 +958,6 @@ function initNormalToolbar() { html: '<div id="insertshape-wrapper"><div id="insertshape-popup" class="insertshape-pop ui-widget ui-corner-all"><div class="insertshape-grid"></div></div></div>'}, {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: 'button', id: 'toggleorientation', img: 'orientation', hint: _('Toggle Page Orientation'), uno: 'ToggleOrientation', hidden: true}, {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}, @@ -1605,7 +1604,7 @@ function onDocLayerInit() { if (toolbarUp) toolbarUp.show('leftpara', 'centerpara', 'rightpara', 'justifypara', 'breakpara', 'linespacing', 'breakspacing', 'defaultbullet', 'defaultnumbering', 'breakbullet', 'incrementindent', 'decrementindent', - 'breakindent', 'inserttable', 'insertannotation', 'backcolor', 'breaksidebar', 'sidebar', 'toggleorientation'); + 'breakindent', 'inserttable', 'insertannotation', 'backcolor', 'breaksidebar', 'sidebar'); if (!_inMobileMode()) { statusbar.insert('left', [ diff --git a/loleaflet/src/layer/tile/WriterTileLayer.js b/loleaflet/src/layer/tile/WriterTileLayer.js index c90f8512e..8b4ec90ed 100644 --- a/loleaflet/src/layer/tile/WriterTileLayer.js +++ b/loleaflet/src/layer/tile/WriterTileLayer.js @@ -72,8 +72,6 @@ L.WriterTileLayer = L.TileLayer.extend({ {type: 'break', id: 'breakbullet', hidden: true}, {type: 'button', id: 'incrementindent', img: 'incrementindent', hint: _UNO('.uno:IncrementIndent', '', true), uno: 'IncrementIndent', disabled: true}, {type: 'button', id: 'decrementindent', img: 'decrementindent', hint: _UNO('.uno:DecrementIndent', '', true), uno: 'DecrementIndent', disabled: true}, - {type: 'break'}, - {type: 'button', id: 'toggleorientation', img: 'orientation', hint: _('Toggle Page Orientation'), uno: 'ToggleOrientation'}, ]; var toolbar = $('#toolbar-up'); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits