loleaflet/src/control/Control.Menubar.js |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 8f86b7e7e7bfb2e33504af562f7282127294e982
Author:     Jan Holesovsky <ke...@collabora.com>
AuthorDate: Thu Nov 14 14:18:03 2019 +0100
Commit:     Jan Holesovsky <ke...@collabora.com>
CommitDate: Thu Nov 14 15:02:06 2019 +0100

    Take the name of .uno:MasterSlidesPanel directly from the core.
    
    Change-Id: Ia75cf573552e0cf4c7eac378138d1ecbfd3e7b4f
    Reviewed-on: https://gerrit.libreoffice.org/82692
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/loleaflet/src/control/Control.Menubar.js 
b/loleaflet/src/control/Control.Menubar.js
index a02db71cf..f02a10f51 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -282,7 +282,7 @@ L.Control.Menubar = L.Control.extend({
                                {uno: '.uno:ModifyPage'},
                                {uno: '.uno:SlideChangeWindow'},
                                {uno: '.uno:CustomAnimation'},
-                               {uno: '.uno:MasterSlidesPanel', name: _('Master 
Slides'), id: 'masterslidespanel', type: 'action'}]
+                               {uno: '.uno:MasterSlidesPanel'}]
                        },
                        {name: _UNO('.uno:InsertMenu', 'presentation'), id: 
'insert', type: 'menu', menu: [
                                {name: _('Local Image...'), id: 
'insertgraphic', type: 'action'},
@@ -1137,8 +1137,6 @@ L.Control.Menubar = L.Control.extend({
                        });
                } else if (window.ThisIsAMobileApp && 
$(item).data('mobileappuno')) {
                        this._map.sendUnoCommand($(item).data('mobileappuno'));
-               } else if (id == 'masterslidespanel') {
-                       this._map.sendUnoCommand('.uno:MasterSlidesPanel');
                }
                // Inform the host if asked
                if ($(item).data('postmessage') === 'true') {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to