loleaflet/src/control/Control.Toolbar.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
New commits: commit d902160dd55961845fd766171876fbe4e178538f Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> AuthorDate: Tue Dec 11 23:03:27 2018 -0500 Commit: Ashod Nakashian <ashnak...@gmail.com> CommitDate: Wed Nov 6 03:49:12 2019 +0100 leaflet: use uno command for button id to toggle the buttons when active (cherry picked from commit 9c2baffc0e20db5e5ff4ba86bb1dc0543b6a4662) Change-Id: Id48d739d10eac90785ba89a06613b89d3b615300 Reviewed-on: https://gerrit.libreoffice.org/82115 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js index ba07e8e67..9cb3fb97d 100644 --- a/loleaflet/src/control/Control.Toolbar.js +++ b/loleaflet/src/control/Control.Toolbar.js @@ -888,7 +888,10 @@ function initNormalToolbar() { {type: 'button', id: 'insertsymbol', img: 'insertsymbol', hint: _UNO('.uno:InsertSymbol', '', true), uno: 'InsertSymbol'}, {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}, + {type: 'button', id: 'modifypage', img: 'sidebar_modify_page', hint: _UNO('.uno:ModifyPage', 'presentation', true), uno: '.uno:ModifyPage', hidden: true}, + {type: 'button', id: 'slidechangewindow', img: 'sidebar_slide_change', hint: _UNO('.uno:SlideChangeWindow', 'presentation', true), uno: '.uno:SlideChangeWindow', hidden: true}, + {type: 'button', id: 'customanimation', img: 'sidebar_custom_animation', hint: _UNO('.uno:CustomAnimation', 'presentation', true), uno: '.uno:CustomAnimation', hidden: true}, + {type: 'button', id: 'masterslidespanel', img: 'sidebar_master_slides', hint: _UNO('.uno:MasterSlidesPanel', 'presentation', true), uno: '.uno:MasterSlidesPanel', hidden: true}, {type: 'break', id: 'breaksidebar', hidden: true}, {type: 'button', id: 'fold', img: 'fold', desktop: true, mobile: false, hidden: true}, {type: 'button', id: 'hamburger-tablet', img: 'hamburger', desktop: false, mobile: false, tablet: true, iosapptablet: false, hidden: true}, @@ -1575,7 +1578,8 @@ function onDocLayerInit() { case 'drawing': if (toolbarUp) toolbarUp.show('leftpara', 'centerpara', 'rightpara', 'justifypara', 'breakpara', 'linespacing', - 'breakspacing', 'defaultbullet', 'defaultnumbering', 'breakbullet', 'inserttextbox', 'inserttable', 'backcolor'); + 'breakspacing', 'defaultbullet', 'defaultnumbering', 'breakbullet', 'inserttextbox', 'inserttable', 'backcolor', + 'breaksidebar', 'modifypage', 'slidechangewindow', 'customanimation', 'masterslidespanel'); if (statusbar) statusbar.show('prev', 'next'); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits