mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
dc52bdf647
commit
e9fa76054e
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user