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

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Mon Jul 6 12:14:29 UTC 2020


 loleaflet/src/control/Control.Menubar.js |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 817d2b51c165ba0e00bb9ed3b765be83e28f5f59
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Jul 1 14:57:46 2020 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Mon Jul 6 14:14:10 2020 +0200

    Add watermark dialog in menu
    
    Change-Id: I76054a101c8d45f46761bbc7b70d4939a48acd30
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97703
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 8d8f84b61..3a48a87d0 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -520,6 +520,7 @@ L.Control.Menubar = L.Control.extend({
 				{uno: '.uno:NextTrackedChange'}
 			]},
 			{name: _('Page Setup'), id: 'pagesetup', type: 'action'},
+			{id: 'watermark', uno: '.uno:Watermark'},
 			{name: _UNO('.uno:ViewMenu', 'text'), id: 'view', type: 'menu', menu: [
 				{uno: '.uno:ControlCodes'},
 				{uno: '.uno:SpellOnline'},
@@ -1354,6 +1355,7 @@ L.Control.Menubar = L.Control.extend({
 			case 'last-mod':
 			case 'save':
 			case 'pagesetup':
+			case 'watermark':
 				return false;
 			}
 		}


More information about the Libreoffice-commits mailing list