loleaflet/src/control/Control.ColumnHeader.js |   12 ++++++------
 loleaflet/src/control/Control.RowHeader.js    |   12 ++++++------
 loleaflet/src/control/Control.Tabs.js         |    8 ++++----
 3 files changed, 16 insertions(+), 16 deletions(-)

New commits:
commit 5b75bed3243abd1b94b52b42ff71a36e28092974
Author:     Pranam Lashkari <lpra...@collabora.com>
AuthorDate: Wed Jan 29 03:52:05 2020 +0530
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Thu Jan 30 12:26:05 2020 +0100

    Menu items renamed for image linking
    
    This renaming will allow the mobile wizard to be able to find the
    svg images/icons corresponding to the uno command
    
    affected context menu/Mobile wizard:
    Row header
    Column header
    Sheet tabs
    
    Change-Id: I94198096085ebe1f482a70d84c8399c34f9e0ea0
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87713
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/loleaflet/src/control/Control.ColumnHeader.js 
b/loleaflet/src/control/Control.ColumnHeader.js
index 008b01bdc..d21451373 100644
--- a/loleaflet/src/control/Control.ColumnHeader.js
+++ b/loleaflet/src/control/Control.ColumnHeader.js
@@ -64,27 +64,27 @@ L.Control.ColumnHeader = L.Control.Header.extend({
                L.DomEvent.addListener(this._cornerCanvas, 'click', 
this._onCornerHeaderClick, this);
 
                this._menuItem = {
-                       'insertcolbefore': {
+                       '.uno:InsertColumnsBefore': {
                                name: _UNO('.uno:InsertColumnsBefore', 
'spreadsheet', true),
                                callback: (this._insertColBefore).bind(this)
                        },
-                       'insertcolafter': {
+                       '.uno:InsertColumnsAfter': {
                                name: _UNO('.uno:InsertColumnsAfter', 
'spreadsheet', true),
                                callback: (this._insertColAfter).bind(this)
                        },
-                       'deleteselectedcol': {
+                       '.uno:DeleteColumns': {
                                name: _UNO('.uno:DeleteColumns', 'spreadsheet', 
true),
                                callback: (this._deleteSelectedCol).bind(this)
                        },
-                       'optimalwidth': {
+                       '.uno:SetOptimalColumnWidth': {
                                name: _UNO('.uno:SetOptimalColumnWidth', 
'spreadsheet', true),
                                callback: (this._optimalWidth).bind(this)
                        },
-                       'hideColumn': {
+                       '.uno:HideColumn': {
                                name: _UNO('.uno:HideColumn', 'spreadsheet', 
true),
                                callback: (this._hideColumn).bind(this)
                        },
-                       'showColumn': {
+                       '.uno:ShowColumn': {
                                name: _UNO('.uno:ShowColumn', 'spreadsheet', 
true),
                                callback: (this._showColumn).bind(this)
                        }
diff --git a/loleaflet/src/control/Control.RowHeader.js 
b/loleaflet/src/control/Control.RowHeader.js
index 2b654a09e..1eb3abe13 100644
--- a/loleaflet/src/control/Control.RowHeader.js
+++ b/loleaflet/src/control/Control.RowHeader.js
@@ -61,27 +61,27 @@ L.Control.RowHeader = L.Control.Header.extend({
                this._position = 0;
 
                this._menuItem = {
-                       'insertrowabove': {
+                       '.uno:InsertRowsBefore': {
                                name: _UNO('.uno:InsertRowsBefore', 
'spreadsheet', true),
                                callback: (this._insertRowAbove).bind(this)
                        },
-                       'insertrowbelow': {
+                       '.uno:InsertRowsAfter': {
                                name: _UNO('.uno:InsertRowsAfter', 
'spreadsheet', true),
                                callback: (this._insertRowBelow).bind(this)
                        },
-                       'deleteselectedrow': {
+                       '.uno:DeleteRows': {
                                name: _UNO('.uno:DeleteRows', 'spreadsheet', 
true),
                                callback: (this._deleteSelectedRow).bind(this)
                        },
-                       'optimalheight': {
+                       '.uno:SetOptimalRowHeight': {
                                name: _UNO('.uno:SetOptimalRowHeight', 
'spreadsheet', true),
                                callback: (this._optimalHeight).bind(this)
                        },
-                       'hideRow': {
+                       '.uno:HideRow': {
                                name: _UNO('.uno:HideRow', 'spreadsheet', true),
                                callback: (this._hideRow).bind(this)
                        },
-                       'showRow': {
+                       '.uno:ShowRow': {
                                name: _UNO('.uno:ShowRow', 'spreadsheet', true),
                                callback: (this._showRow).bind(this)
                        }
diff --git a/loleaflet/src/control/Control.Tabs.js 
b/loleaflet/src/control/Control.Tabs.js
index 555a141b1..85d493397 100644
--- a/loleaflet/src/control/Control.Tabs.js
+++ b/loleaflet/src/control/Control.Tabs.js
@@ -50,17 +50,17 @@ L.Control.Tabs = L.Control.extend({
                        'insertsheetafter': {name: _('Insert sheet after this'),
                                callback: (this._insertSheetAfter).bind(this)
                        },
-                       'deletesheet': {name: _UNO('.uno:Remove', 
'spreadsheet', true),
+                       '.uno:Remove': {name: _UNO('.uno:Remove', 
'spreadsheet', true),
                                callback: (this._deleteSheet).bind(this)
                        },
-                       'renamesheet': {name: _UNO('.uno:RenameTable', 
'spreadsheet', true),
+                       '.uno:Name': {name: _UNO('.uno:RenameTable', 
'spreadsheet', true),
                                callback: (this._renameSheet).bind(this)
                        } ,
-                       'showsheets': {
+                       '.uno:Show': {
                                name: _UNO('.uno:Show', 'spreadsheet', true),
                                callback: (this._showSheet).bind(this),
                        },
-                       'hiddensheets': {
+                       '.uno:Hide': {
                                name: _UNO('.uno:Hide', 'spreadsheet', true),
                                callback: (this._hideSheet).bind(this)
                        }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to