loleaflet/src/control/Control.Menubar.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 54951870c3ed7c7f128d53449b4b0f77126117a8 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Fri Apr 12 15:50:27 2019 +0300 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Fri Apr 12 15:58:15 2019 +0300 tdf#124448: Don't show the 'Download as' menu entry on mobile apps It doesn't make sense, and the functionality doesn't do anything anyway. Change-Id: I61dfeb8815064756af5779e761272c22339f2de5 diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index abd75b012..d0e8c5724 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js @@ -21,7 +21,7 @@ L.Control.Menubar = L.Control.extend({ {name: _('Share...'), id:'shareas', type: 'action'}, {name: _UNO('.uno:Print', 'text'), id: 'print', type: 'action'}, {name: _('See revision history'), id: 'rev-history', type: 'action'}, - {name: _('Download as'), id: 'downloadas', type: 'menu', menu: [ + {name: _('Download as'), id: 'downloadas', type: 'menu', mobileapp: false, menu: [ {name: _('PDF Document (.pdf)'), id: 'downloadas-pdf', type: 'action'}, {name: _('ODF text document (.odt)'), id: 'downloadas-odt', type: 'action'}, {name: _('Word 2003 Document (.doc)'), id: 'downloadas-doc', type: 'action'}, @@ -238,7 +238,7 @@ L.Control.Menubar = L.Control.extend({ {name: _('Share...'), id:'shareas', type: 'action'}, {name: _UNO('.uno:Print', 'presentation'), id: 'print', type: 'action'}, {name: _('See revision history'), id: 'rev-history', type: 'action'}, - {name: _('Download as'), id: 'downloadas', type: 'menu', menu: [ + {name: _('Download as'), id: 'downloadas', type: 'menu', mobileapp: false, menu: [ {name: _('PDF Document (.pdf)'), id: 'downloadas-pdf', type: 'action'}, {name: _('ODF presentation (.odp)'), id: 'downloadas-odp', type: 'action'}, {name: _('PowerPoint 2003 Presentation (.ppt)'), id: 'downloadas-ppt', type: 'action'}, @@ -326,7 +326,7 @@ L.Control.Menubar = L.Control.extend({ {name: _('Share...'), id:'shareas', type: 'action'}, {name: _UNO('.uno:Print', 'spreadsheet'), id: 'print', type: 'action'}, {name: _('See revision history'), id: 'rev-history', type: 'action'}, - {name: _('Download as'), id:'downloadas', type: 'menu', menu: [ + {name: _('Download as'), id:'downloadas', type: 'menu', mobileapp: false, menu: [ {name: _('PDF Document (.pdf)'), id: 'downloadas-pdf', type: 'action'}, {name: _('ODF spreadsheet (.ods)'), id: 'downloadas-ods', type: 'action'}, {name: _('Excel 2003 Spreadsheet (.xls)'), id: 'downloadas-xls', type: 'action'}, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits