diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2019-12-11 07:54:20 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2019-12-11 11:57:06 +0100 |
commit | 8181441922c69303ed327b18bbb31b09f6bea321 (patch) | |
tree | 8d1832b2f06b356d06125ad8729e93f745a0395e /make_icon_link.txt.py | |
parent | 93981b80416b6d71e79dccf36f946a62d6b3da5d (diff) |
Update icon repplacement table (Colibre)
Also, replace all ref of .png to .svg
Change-Id: Ib2c9d0281cb5bfe3e016f69f2879d2fc90f08181
Reviewed-on: https://gerrit.libreoffice.org/84934
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'make_icon_link.txt.py')
-rwxr-xr-x | make_icon_link.txt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make_icon_link.txt.py b/make_icon_link.txt.py index 9e2a860b31..8fee7e8aa4 100755 --- a/make_icon_link.txt.py +++ b/make_icon_link.txt.py @@ -35,8 +35,8 @@ file_xsl.write('<xsl:choose>\n') for line in file_icon: if line[0] != "#" : if line.find('png',0, len(line)) <> -1 : - a = "\'" + line.split()[0] + "\'" - b = line.split()[1] + a = "\'" + line.split()[0] + "\'"; + b = line.split()[1].replace(".png",".svg"); file_xsl.write('<xsl:when test="$src1=' + a + '"><xsl:text>'+ b + '</xsl:text></xsl:when>\n'); file_xsl.write('<xsl:otherwise><xsl:value-of select="$src1"/></xsl:otherwise>\n'); |