[Libreoffice-commits] online.git: loleaflet/build loleaflet/src scripts/unocommands.py

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Mar 30 20:23:53 UTC 2019


 loleaflet/build/deps.js |    2 +-
 scripts/unocommands.py  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 59306e2f4c9b6d9ea2d669b5b9ae45573bbbc160
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Sat Mar 30 16:09:59 2019 -0400
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Sat Mar 30 16:22:32 2019 -0400

    loleaflet: rename toolbar.js to Control.Toolbar.js
    
    Change-Id: Ia8d0c3856ea40b4e342e5bec94c558c78464943f

diff --git a/loleaflet/build/deps.js b/loleaflet/build/deps.js
index 88f60116f..eea5545a2 100644
--- a/loleaflet/build/deps.js
+++ b/loleaflet/build/deps.js
@@ -292,7 +292,7 @@ var deps = {
 	},
 
 	ControlToolbar: {
-		src: ['control/toolbar.js'],
+		src: ['control/Control.Toolbar.js'],
 		heading: 'Controls',
 		desc: 'LibreOffice Online toolbar'
 	},
diff --git a/loleaflet/src/control/toolbar.js b/loleaflet/src/control/Control.Toolbar.js
similarity index 100%
rename from loleaflet/src/control/toolbar.js
rename to loleaflet/src/control/Control.Toolbar.js
diff --git a/scripts/unocommands.py b/scripts/unocommands.py
index df29ef8e5..3e5ec6bb8 100755
--- a/scripts/unocommands.py
+++ b/scripts/unocommands.py
@@ -122,7 +122,7 @@ def extractToolbarCommands(path):
     commands = []
 
     # extract from the menu specifications
-    f = open(path + '/loleaflet/src/control/toolbar.js', 'r')
+    f = open(path + '/loleaflet/src/control/Control.Toolbar.js', 'r')
     for line in f:
         if line.find("_UNO(") >= 0:
             commands += commandFromMenuLine(line)


More information about the Libreoffice-commits mailing list