Look for svgz images as well

Almost all toolbar images are now in svgz format, bu thos were not found by
the scripts.
This commit is contained in:
Georg Baum 2016-06-05 12:25:48 +02:00
parent dc52bdf647
commit e9fa76054e
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ def gettoolbaritems(filename):
def getmakefileentries(filename):
items = []
makefile = open(filename, 'rt')
regexp = re.compile(r'.*images/math/(.+)\.png')
regexp = re.compile(r'.*images/math/(.+)\.(png|svgz)')
for line in makefile.readlines():
m = regexp.match(line)
if m:

View File

@ -95,7 +95,7 @@ def gettoolbaritems(filename):
def getmakefileentries(filename):
items = []
makefile = open(filename, 'rt')
regexp = re.compile(r'.*images/math/(.+)\.png')
regexp = re.compile(r'.*images/math/(.+)\.(png|svgz)')
for line in makefile.readlines():
m = regexp.match(line)
if m: