From 4e111d5b60172fe9bf53ac8002bcc1b8aef326dd Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Thu, 22 Nov 2018 16:57:48 +0100 Subject: [PATCH] Revert "Add File - Properties... menu" This reverts commit 480b6ed0b5a5cab10cece80536752229b5acbe90. Change-Id: I326a78ce9c8f0d9c050c757df18bf6e3380e092c --- loleaflet/src/control/Control.Menubar.js | 3 --- loleaflet/src/unocommands.js | 1 - 2 files changed, 4 deletions(-) diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index e331c0737..66b38ecdf 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js @@ -29,7 +29,6 @@ L.Control.Menubar = L.Control.extend({ {name: _('Rich Text (.rtf)'), id: 'downloadas-rtf', type: 'action'}]}, {name: _('Sign document'), id: 'signdocument', type: 'action'}, {type: 'separator'}, - {uno: '.uno:SetDocumentProperties'}, {name: _('Close document'), id: 'closedocument', type: 'action'} ]}, {name: _UNO('.uno:EditMenu', 'text'), type: 'menu', menu: [ @@ -240,7 +239,6 @@ L.Control.Menubar = L.Control.extend({ {name: _('PowerPoint 2003 Presentation (.ppt)'), id: 'downloadas-ppt', type: 'action'}, {name: _('PowerPoint Presentation (.pptx)'), id: 'downloadas-pptx', type: 'action'}]}, {type: 'separator'}, - {uno: '.uno:SetDocumentProperties'}, {name: _('Close document'), id: 'closedocument', type: 'action'} ]}, {name: _UNO('.uno:EditMenu', 'presentation'), type: 'menu', menu: [ @@ -322,7 +320,6 @@ L.Control.Menubar = L.Control.extend({ {name: _('Excel 2003 Spreadsheet (.xls)'), id: 'downloadas-xls', type: 'action'}, {name: _('Excel Spreadsheet (.xlsx)'), id: 'downloadas-xlsx', type: 'action'}]}, {type: 'separator'}, - {uno: '.uno:SetDocumentProperties'}, {name: _('Close document'), id: 'closedocument', type: 'action'} ]}, {name: _UNO('.uno:EditMenu', 'spreadsheet'), type: 'menu', menu: [ diff --git a/loleaflet/src/unocommands.js b/loleaflet/src/unocommands.js index 3d50e2089..dc750d3d4 100644 --- a/loleaflet/src/unocommands.js +++ b/loleaflet/src/unocommands.js @@ -196,7 +196,6 @@ var unoCommandsArray = { SetAnchorToFrame:{text:{menu:_('To ~Frame'),},}, SetAnchorToPage:{spreadsheet:{menu:_('To P~age'),},text:{menu:_('To P~age'),},}, SetAnchorToPara:{text:{menu:_('To ~Paragraph'),},}, - SetDocumentProperties:{global:{menu:_('Propert~ies...'),},}, SetLanguageAllTextMenu:{global:{menu:_('For All Text'),},}, SetLanguageParagraphMenu:{global:{menu:_('For Paragraph'),},}, SetLanguageSelectionMenu:{global:{menu:_('For Selection'),},},