loleaflet/src/control/Control.NotebookbarBuilder.js |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit e6cd3a0f35a28ae7efab281b2f881f515a0a083f
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Wed May 6 16:59:17 2020 +0200
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Thu May 7 15:33:47 2020 +0200

    notebookbar: hide unsupported items in calc
    
    Change-Id: Ib45c2aeca3bc921ce0fbdb469399d32ab3d4da1f
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93620
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>

diff --git a/loleaflet/src/control/Control.NotebookbarBuilder.js 
b/loleaflet/src/control/Control.NotebookbarBuilder.js
index a07d5b3a1..85fc98816 100644
--- a/loleaflet/src/control/Control.NotebookbarBuilder.js
+++ b/loleaflet/src/control/Control.NotebookbarBuilder.js
@@ -82,6 +82,12 @@ L.Control.NotebookbarBuilder = 
L.Control.JSDialogBuilder.extend({
                this._toolitemHandlers['.uno:DeleteComment'] = function() {};
                this._toolitemHandlers['.uno:CompareDocuments'] = function() {};
                this._toolitemHandlers['.uno:MergeDocuments'] = function() {};
+               this._toolitemHandlers['.uno:FunctionBox'] = function() {};
+               this._toolitemHandlers['.uno:EditAnnotation'] = function() {};
+               this._toolitemHandlers['.uno:ShowAllNotes'] = function() {};
+               this._toolitemHandlers['.uno:HideAllNotes'] = function() {};
+               this._toolitemHandlers['.uno:ShareDocument'] = function() {};
+               this._toolitemHandlers['.uno:EditDoc'] = function() {};
                this._toolitemHandlers['vnd.sun.star.findbar:FocusToFindbar'] = 
function() {};
        },
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to