loleaflet/src/control/Control.Menubar.js |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

New commits:
commit 245cb007af729260af8d4f5d33eb0a8f3bccbd13
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Mon Dec 4 18:53:40 2017 +0530

    lokdialog: Add FormatCellDialog, EditStyle dialog commands to menubar
    
    There is no exact menubar header as in calc, impress desktop version and
    it doesn't look nice to create a new menubar header just for these
    commands. So adjust them in most appropriate menubar headers for now.
    
    Change-Id: Id52a2946904f0031168dcffcd0ab445f1a07a5bb

diff --git a/loleaflet/src/control/Control.Menubar.js 
b/loleaflet/src/control/Control.Menubar.js
index db3a68c2..8b061151 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -226,7 +226,9 @@ L.Control.Menubar = L.Control.extend({
                                {name: _('Paste'), type: 'unocommand', uno: 
'.uno:Paste'},
                                {name: _('Select all'), type: 'unocommand', 
uno: '.uno:SelectAll'},
                                {type: 'separator'},
-                               {name: _('Find & Replace'), id: 
'.uno:SearchDialog', type: 'dialog'}
+                               {name: _('Edit Style...'), type: 'dialog', id: 
'.uno:EditStyle'},
+                               {type: 'separator'},
+                               {name: _('Find & Replace'), id: 
'.uno:SearchDialog', id: 'dialog'}
                        ]},
                        {name: _('View'), id: 'view', type: 'menu', menu: [
                                {name: _('Full screen'), id: 'fullscreen', 
type: 'action'},
@@ -313,8 +315,10 @@ L.Control.Menubar = L.Control.extend({
                                {name: _('Insert column'), type: 'unocommand', 
uno: '.uno:InsertColumns'},
                                {type: 'separator'},
                                {name: _('Delete row'), type: 'unocommand', 
uno: '.uno:DeleteRows'},
-                               {name: _('Delete column'), type: 'unocommand', 
uno: '.uno:DeleteColumns'}]
-                       },
+                               {name: _('Delete column'), type: 'unocommand', 
uno: '.uno:DeleteColumns'},
+                               {type: 'separator'},
+                               {name: _('Format'), type: 'dialog', id: 
'.uno:FormatCellDialog'},
+                       ]},
                        {name: _('Data'), type: 'menu', menu: [
                                {name: _('Group'), type: 'unocommand', uno: 
'.uno:Group'},
                                {name: _('Ungroup'), type: 'unocommand', uno: 
'.uno:Ungroup'},
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to