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

Andras Timar andras.timar at collabora.com
Wed Oct 5 11:22:17 UTC 2016


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

New commits:
commit 81f374a94028cc4526fcde871792fa724ebf9c23
Author: Andras Timar <andras.timar at collabora.com>
Date:   Wed Oct 5 13:21:53 2016 +0200

    loleaflet: add 'Freeze panes' item to View menu of Calc

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 7fee304..49c3710 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -132,7 +132,9 @@ 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: _('Freeze panes'), type: 'unocommand', uno: '.uno:FreezePanes'}]
 			},
 			{name: _('Cells'), type: 'menu', menu: [{name: _('Insert row'), type: 'unocommand', uno: '.uno:InsertRows'},
 												 {name: _('Insert column'), type: 'unocommand', uno: '.uno:InsertColumns'},


More information about the Libreoffice-commits mailing list