[Libreoffice-commits] online.git: loleaflet/src

Pranav Kant pranavk at collabora.co.uk
Wed Feb 22 14:11:10 UTC 2017


 loleaflet/src/control/Control.Menubar.js |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 1b5594f13e697e82422155256814661c5100f2e9
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Wed Feb 22 19:40:14 2017 +0530

    loleaflet: Add formatting marks to view menu
    
    Change-Id: Ic309a616f9e9c72f77d863f820960c94a5af3699

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 3a9d99b..9162512 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -33,7 +33,10 @@ L.Control.Menubar = L.Control.extend({
 				{type: 'separator'},
 				{name: _('Zoom in'), id: 'zoomin', type: 'action'},
 				{name: _('Zoom out'), id: 'zoomout', type: 'action'},
-				{name: _('Reset zoom'), id: 'zoomreset', type: 'action'}]
+				{name: _('Reset zoom'), id: 'zoomreset', type: 'action'},
+				{type: 'separator'},
+				{name: _('Formatting Marks'), type: 'unocommand', uno: '.uno:ControlCodes'},
+			]
 			},
 			{name: _('Insert'), type: 'menu', menu: [
 				{name: _('Image'), id: 'insertgraphic', type: 'action'},


More information about the Libreoffice-commits mailing list