loleaflet/js/toolbar.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 032cb2d80a4a37e0818d83f6e0b5b47382c82362 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Thu Mar 14 09:39:15 2019 +0100 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Fri Mar 15 20:07:22 2019 +0100 Add sort buttons to the toolbar in Calc Change-Id: Ifc700afdf3fbd93656e07c9295f2c07f246659d8 diff --git a/loleaflet/js/toolbar.js b/loleaflet/js/toolbar.js index dfaeefaa7..5a5020bfb 100644 --- a/loleaflet/js/toolbar.js +++ b/loleaflet/js/toolbar.js @@ -778,6 +778,9 @@ function createToolbar() { {type: 'button', id: 'incrementindent', img: 'incrementindent', hint: _UNO('.uno:IncrementIndent', '', true), uno: 'IncrementIndent', hidden: true, disabled: true}, {type: 'button', id: 'decrementindent', img: 'decrementindent', hint: _UNO('.uno:DecrementIndent', '', true), uno: 'DecrementIndent', hidden: true, disabled: true}, {type: 'break', id: 'breakindent', hidden: true}, + {type: 'button', id: 'sortascending', img: 'sortascending', hint: _UNO('.uno:SortAscending', 'spreadsheet', true), uno: 'SortAscending', disabled: true, hidden: true}, + {type: 'button', id: 'sortdescending', img: 'sortdescending', hint: _UNO('.uno:SortDescending', 'spreadsheet', true), uno: 'SortDescending', disabled: true, hidden: true}, + {type: 'break', id: 'breaksorting', hidden: true}, {type: 'drop', id: 'conditionalformaticonset', img: 'conditionalformatdialog', hint: _UNO('.uno:ConditionalFormatMenu', 'spreadsheet', true), hidden: true, html: '<table id="conditionalformatmenu-grid"><tr>' + '<td class="w2ui-tb-image w2ui-icon iconset00" onclick="setConditionalFormatIconSet(0)"/><td class="w2ui-tb-image w2ui-icon iconset01" onclick="setConditionalFormatIconSet(1)"/><td class="w2ui-tb-image w2ui-icon iconset02" onclick="setConditionalFormatIconSet(2)"/></tr><tr>' + @@ -1565,7 +1568,7 @@ function onDocLayerInit() { toolbarUp.show('textalign', 'wraptext', 'breakspacing', 'insertannotation', 'conditionalformaticonset', 'numberformatcurrency', 'numberformatpercent', 'numberformatincdecimals', 'numberformatdecdecimals', 'break-number', 'togglemergecells', 'breakmergecells', - 'setborderstyle'); + 'setborderstyle', 'sortascending', 'sortdescending', 'breaksorting'); toolbarUp.remove('styles'); statusbar.remove('prev', 'next', 'prevnextbreak'); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits