Render a 24x24 icon with rsvg-convert at build time
This commit is contained in:
parent
85cdadcdee
commit
53462722e6
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ def add_image (bld, category, name):
|
||||||
if rsvg_convert:
|
if rsvg_convert:
|
||||||
Utils.check_dir (blddir + '/icons')
|
Utils.check_dir (blddir + '/icons')
|
||||||
|
|
||||||
for size in [16, 22, 32, 48]:
|
for size in [16, 22, 24, 32, 48]:
|
||||||
format = str (size) + 'x' + str (size)
|
format = str (size) + 'x' + str (size)
|
||||||
if os.access (srcdir + '/icons/' + format + '/' + name + '.png', os.F_OK):
|
if os.access (srcdir + '/icons/' + format + '/' + name + '.png', os.F_OK):
|
||||||
bld.install_files ('${MDATADIR}/icons/hicolor/' + format + '/' + category,
|
bld.install_files ('${MDATADIR}/icons/hicolor/' + format + '/' + category,
|
||||||
|
|
Loading…
Reference in a new issue