loleaflet/src/control/Control.ContextMenu.js |    4 ++--
 loleaflet/src/control/Control.Menubar.js     |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit ca0196d02b3854d2383bc108cb7b481ce52d3a2f
Author:     Muhammet Kara <muhammet.k...@collabora.com>
AuthorDate: Sat Jun 29 18:18:24 2019 +0300
Commit:     Muhammet Kara <muhammet.k...@collabora.com>
CommitDate: Sat Jun 29 17:27:54 2019 +0200

    Add TransformDialog dialog to Format and context menus
    
    Change-Id: Ifdf5867f4ed5f5572f1c7a42fdb55bf2a8b17aee
    Reviewed-on: https://gerrit.libreoffice.org/74895
    Reviewed-by: Muhammet Kara <muhammet.k...@collabora.com>
    Tested-by: Muhammet Kara <muhammet.k...@collabora.com>
    (cherry picked from commit 0993b2c82fc9ec968cfbfdced72ea812cc7e2e2f)
    Reviewed-on: https://gerrit.libreoffice.org/74898

diff --git a/loleaflet/src/control/Control.ContextMenu.js 
b/loleaflet/src/control/Control.ContextMenu.js
index e138efd5c..a5cd4929c 100644
--- a/loleaflet/src/control/Control.ContextMenu.js
+++ b/loleaflet/src/control/Control.ContextMenu.js
@@ -27,7 +27,7 @@ L.Control.ContextMenu = L.Control.extend({
                                          'WrapMenu', 'WrapOff', 'WrapOn', 
'WrapIdeal', 'WrapLeft', 'WrapRight', 'WrapThrough',
                                          'WrapThroughTransparent', 
'WrapContour', 'WrapAnchorOnly',
                                          'ArrangeFrameMenu', 'ArrangeMenu', 
'BringToFront', 'ObjectForwardOne', 'ObjectBackOne', 'SendToBack',
-                                         'RotateMenu', 'RotateLeft', 
'RotateRight', 'FormatLine', 'FormatArea'],
+                                         'RotateMenu', 'RotateLeft', 
'RotateRight', 'TransformDialog', 'FormatLine', 'FormatArea'],
 
                        text: ['TableInsertMenu',
                                   'InsertRowsBefore', 'InsertRowsAfter', 
'InsertColumnsBefore', 'InsertColumnsAfter',
@@ -39,7 +39,7 @@ L.Control.ContextMenu = L.Control.extend({
 
                        spreadsheet: ['MergeCells', 'SplitCell', 
'RecalcPivotTable', 'FormatCellDialog'],
 
-                       presentation: ['TransformDialog'],
+                       presentation: [],
                        drawing: []
                }
                // UNOCOMMANDS_EXTRACT_END <- don't remove this line, it's used 
by unocommands.py
diff --git a/loleaflet/src/control/Control.Menubar.js 
b/loleaflet/src/control/Control.Menubar.js
index 03f205dc5..3530778b1 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -182,6 +182,7 @@ L.Control.Menubar = L.Control.extend({
                                {uno: '.uno:OutlineBullet'},
                                {uno: '.uno:PageDialog'},
                                {type: 'separator'},
+                               {uno: '.uno:TransformDialog'},
                                {uno: '.uno:FormatLine'},
                                {uno: '.uno:FormatArea'},
                                {type: 'separator'},
@@ -368,6 +369,7 @@ L.Control.Menubar = L.Control.extend({
                                {uno: '.uno:FormatCellDialog'},
                                {uno: '.uno:PageFormatDialog'},
                                {type: 'separator'},
+                               {uno: '.uno:TransformDialog'},
                                {uno: '.uno:FormatLine'},
                                {uno: '.uno:FormatArea'},
                                {type: 'separator'},
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to