[Libreoffice-commits] online.git: loleaflet/src
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 22 08:21:48 UTC 2020
loleaflet/src/control/Control.Menubar.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 97a0a765abe5a1a8cc92eeb5f54bee1982f448ab
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Fri May 22 10:07:10 2020 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Fri May 22 10:21:26 2020 +0200
Move insert table entry in menubar
Change-Id: I80b8164685cf45a01e26c7a2b58b800262fe080b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94659
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 62b54ef35..9fd947eec 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -77,7 +77,6 @@ L.Control.Menubar = L.Control.extend({
{name: _UNO('.uno:InsertGraphic', 'text'), id: 'insertgraphicremote', type: 'action'},
{name: _UNO('.uno:InsertAnnotation', 'text'), id: 'insertcomment', type: 'action'},
{uno: '.uno:InsertObjectChart'},
- {uno: '.uno:InsertTable'},
{type: 'separator'},
{uno: '.uno:InsertSection', id: 'insertsection'},
{name: _UNO('.uno:InsertField', 'text'), type: 'menu', menu: [
@@ -202,6 +201,7 @@ L.Control.Menubar = L.Control.extend({
{uno: '.uno:ResetAttributes'}
]},
{name: _UNO('.uno:TableMenu', 'text'), type: 'menu', menu: [
+ {uno: '.uno:InsertTable'},
{name: _UNO('.uno:TableInsertMenu', 'text'), type: 'menu', menu: [
{uno: '.uno:InsertRowsBefore'},
{uno: '.uno:InsertRowsAfter'},
@@ -297,7 +297,6 @@ L.Control.Menubar = L.Control.extend({
{name: _UNO('.uno:SelectBackground', 'presentation'), id: 'selectbackground', type: 'action'},
{name: _UNO('.uno:InsertAnnotation', 'presentation'), id: 'insertcomment', type: 'action'},
{uno: '.uno:InsertObjectChart'},
- {uno: '.uno:InsertTable'},
{type: 'separator'},
{name: _UNO('.uno:HyperlinkDialog'), id: 'inserthyperlink', type: 'action'},
{type: 'separator'},
@@ -328,6 +327,7 @@ L.Control.Menubar = L.Control.extend({
{uno: '.uno:OutlineBullet'}]
},
{name: _UNO('.uno:TableMenu', 'text'/*HACK should be 'presentation', but not in xcu*/), type: 'menu', menu: [
+ {name: _UNO('.uno:InsertTable', 'text'), uno: '.uno:InsertTable'},
{name: _UNO('.uno:TableInsertMenu', 'text'/*HACK should be 'presentation', but not in xcu*/), type: 'menu', menu: [
{uno: '.uno:InsertRowsBefore'},
{uno: '.uno:InsertRowsAfter'},
More information about the Libreoffice-commits
mailing list