loleaflet/src/control/Control.Menubar.js |    5 ++++-
 loleaflet/src/unocommands.js             |    2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 5fe04a4a40a34a4ce7f1cf650375a6caf13c6cac
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Mon Jul 27 12:20:45 2020 +0200
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Mon Jul 27 14:35:19 2020 +0200

    Add missing dialogs in menubar
    
    Added dialogs are already converted to be async
    and are present in the notebookbar interface.
    
    Change-Id: Ia15f9a5f5524cef20948b45d0d465620091f12ec
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99475
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>

diff --git a/loleaflet/src/control/Control.Menubar.js 
b/loleaflet/src/control/Control.Menubar.js
index ca4274902..0e8c8e561 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -189,6 +189,7 @@ L.Control.Menubar = L.Control.extend({
                                {uno: '.uno:OutlineBullet'},
                                {uno: '.uno:PageDialog'},
                                {uno: '.uno:EditRegion'},
+                               {uno: '.uno:TitlePageDialog'},
                                {type: 'separator'},
                                {uno: '.uno:TransformDialog'},
                                {uno: '.uno:FormatLine'},
@@ -234,6 +235,7 @@ L.Control.Menubar = L.Control.extend({
                                                {name: _('None (Do not check 
spelling)'), id: 'nonelanguage', uno: 
'.uno:LanguageStatus?Language:string=Default_LANGUAGE_NONE'}]}
                                ]},
                                {uno: '.uno:WordCountDialog'},
+                               {uno: '.uno:LineNumberingDialog'},
                                {type: 'separator'},
                                {name: _UNO('.uno:AutoFormatMenu', 'text'), 
type: 'menu', menu: [
                                        {uno: '.uno:OnlineAutoFormat'}]}
@@ -339,7 +341,8 @@ L.Control.Menubar = L.Control.extend({
                                {name: _UNO('.uno:TableDeleteMenu', 
'text'/*HACK should be 'presentation', but not in xcu*/), type: 'menu', menu: [
                                        {uno: '.uno:DeleteRows'},
                                        {uno: '.uno:DeleteColumns'}]},
-                               {uno: '.uno:MergeCells'}]
+                               {uno: '.uno:MergeCells'},
+                               {uno: '.uno:TableDialog'}]
                        },
                        {name: _UNO('.uno:SlideMenu', 'presentation'), type: 
'menu', menu: [
                                {name: _UNO('.uno:InsertSlide', 
'presentation'), id: 'insertpage', type: 'action'},
diff --git a/loleaflet/src/unocommands.js b/loleaflet/src/unocommands.js
index 449880c74..0d12241c6 100644
--- a/loleaflet/src/unocommands.js
+++ b/loleaflet/src/unocommands.js
@@ -204,6 +204,7 @@ var unoCommandsArray = {
        LanguageStatus:{global:{menu:_('Language Status'),},},
        LayoutStatus:{presentation:{menu:_('Layout'),},},
        LeftPara:{global:{context:_('Align Left'),menu:_('Left'),},},
+       LineNumberingDialog:{text:{menu:_('~Line Numbering...'),},},
        MasterSlidesPanel:{presentation:{menu:_('Master Slides'),},},
        MergeCells:{presentation:{menu:_('Merge 
Cells'),},spreadsheet:{menu:_('Merge Cells'),},text:{menu:_('Merge Cells'),},},
        ModifyPage:{presentation:{menu:_('Slide ~Layout'),},},
@@ -315,6 +316,7 @@ var unoCommandsArray = {
        Text:{global:{context:_('Insert Text Box'),menu:_('~Text Box'),},},
        TextAlign:{global:{menu:_('Alig~n'),},},
        
ThesaurusDialog:{global:{menu:_('~Thesaurus...'),},text:{menu:_('~Thesaurus...'),},},
+       TitlePageDialog:{text:{menu:_('Title Page...'),},},
        ToggleMergeCells:{spreadsheet:{menu:_('M~erge and Center Cells'),},},
        ToolsMenu:{global:{menu:_('~Tools'),},},
        TrackChanges:{text:{menu:_('~Record'),},},
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to