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

New commits:
commit a098b3410699e341e607e0b270ee397e032ac9d0
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Thu Apr 23 12:38:40 2020 +0200
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Fri May 1 16:33:35 2020 +0200

    notebookbar: hide unknown items
    
    Change-Id: I3dd6a825afc87328f519305329ca7e41ac6ff14c
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93269
    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 c2b0b97ff..c92cb856e 100644
--- a/loleaflet/src/control/Control.NotebookbarBuilder.js
+++ b/loleaflet/src/control/Control.NotebookbarBuilder.js
@@ -12,8 +12,9 @@ L.Control.NotebookbarBuilder = 
L.Control.JSDialogBuilder.extend({
        },
 
        _overrideHandlers: function() {
-               this._controlHandlers['combobox'] = function() {return false;};
-               this._controlHandlers['listbox'] = function() {return false;};
+               this._controlHandlers['combobox'] = function() { return false; 
};
+               this._controlHandlers['listbox'] = function() { return false; };
+               this._controlHandlers['pushbutton'] = function() { return 
false; };
 
                this._toolitemHandlers['.uno:XLineColor'] = function() {};
                this._toolitemHandlers['.uno:SelectWidth'] = function() {};
@@ -24,6 +25,7 @@ L.Control.NotebookbarBuilder = 
L.Control.JSDialogBuilder.extend({
                this._toolitemHandlers['.uno:FrameLineColor'] = function() {};
                this._toolitemHandlers['.uno:Color'] = function() {};
                this._toolitemHandlers['.uno:FillColor'] = function() {};
+               this._toolitemHandlers['vnd.sun.star.findbar:FocusToFindbar'] = 
function() {};
        },
 
        build: function(parent, data, hasVerticalParent, parentHasManyChildren) 
{
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to