[Libreoffice-commits] online.git: loleaflet/src

Michael Meeks (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 9 12:04:01 UTC 2019


 loleaflet/src/control/Control.Menubar.js |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

New commits:
commit 9c8bcc83771cf5f2cb79ffac4c475d2a8c28ffdd
Author:     Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Wed Oct 9 12:54:46 2019 +0100
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Wed Oct 9 13:03:42 2019 +0100

    mobile: disable impress dialogs, and add insert-shape.
    
    Change-Id: I33aebe037dd08960d97e675616f821c5542cdedf

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 7f2af5d0f..6019985c5 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -53,13 +53,13 @@ L.Control.Menubar = L.Control.extend({
 					{uno: '.uno:TrackChanges'},
 					{uno: '.uno:ShowTrackedChanges'},
 					{type: 'separator'},
-					{uno: '.uno:AcceptTrackedChanges'},
+					{uno: '.uno:AcceptTrackedChanges', mobile: false},
 					{uno: '.uno:AcceptAllTrackedChanges'},
 					{uno: '.uno:RejectAllTrackedChanges'},
 					{uno: '.uno:PreviousTrackedChange'},
 					{uno: '.uno:NextTrackedChange'}
 				]},
-				{uno: '.uno:EditStyle'}
+				{uno: '.uno:EditStyle', mobile: false}
 			]},
 			{name: _UNO('.uno:ViewMenu', 'text'), id: 'view', type: 'menu', menu: [
 				{name: _UNO('.uno:FullScreen', 'text'), id: 'fullscreen', type: 'action', mobileapp: false, mobile: false},
@@ -297,9 +297,10 @@ L.Control.Menubar = L.Control.extend({
 				{type: 'separator'},
 				{name: _UNO('.uno:HyperlinkDialog'), id: 'inserthyperlink', type: 'action'},
 				{type: 'separator'},
-				{uno: '.uno:InsertSymbol'},
-                               {type: 'separator'},
-                               {uno: '.uno:HeaderAndFooter'}]
+				{uno: '.uno:InsertSymbol', mobile: false},
+				{type: 'separator'},
+				{name: _('Insert Shape'), id: 'insertshape', desktop: false, mobile: true, type: 'action' },
+				{uno: '.uno:HeaderAndFooter', mobile: false}]
 			},
 			{name: _UNO('.uno:FormatMenu', 'presentation'), id: 'format', mobile: false, type: 'menu', menu: [
 				{uno: '.uno:FontDialog'},


More information about the Libreoffice-commits mailing list