author | Laurent Bessard |
Wed, 23 May 2012 11:45:54 +0200 | |
changeset 696 | 8865c406f616 |
parent 184 | d3e6484ebe85 |
permissions | -rw-r--r-- |
184
d3e6484ebe85
changed the way icons are loaded for both toolbars and treectrl. Now, non editable items have different pyData.
etisserant
parents:
diff
changeset
|
1 |
#!/bin/bash |
d3e6484ebe85
changed the way icons are loaded for both toolbars and treectrl. Now, non editable items have different pyData.
etisserant
parents:
diff
changeset
|
2 |
|
d3e6484ebe85
changed the way icons are loaded for both toolbars and treectrl. Now, non editable items have different pyData.
etisserant
parents:
diff
changeset
|
3 |
INKSCAPE=/cygdrive/c/Program\ Files/Inkscape/inkscape.exe |
d3e6484ebe85
changed the way icons are loaded for both toolbars and treectrl. Now, non editable items have different pyData.
etisserant
parents:
diff
changeset
|
4 |
|
d3e6484ebe85
changed the way icons are loaded for both toolbars and treectrl. Now, non editable items have different pyData.
etisserant
parents:
diff
changeset
|
5 |
for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'` |
d3e6484ebe85
changed the way icons are loaded for both toolbars and treectrl. Now, non editable items have different pyData.
etisserant
parents:
diff
changeset
|
6 |
do |
d3e6484ebe85
changed the way icons are loaded for both toolbars and treectrl. Now, non editable items have different pyData.
etisserant
parents:
diff
changeset
|
7 |
echo "$INKSCAPE" `cygpath -w \`pwd\`/icons.svg` -z -e `cygpath -w \`pwd\`/$i.png` -i $i |
d3e6484ebe85
changed the way icons are loaded for both toolbars and treectrl. Now, non editable items have different pyData.
etisserant
parents:
diff
changeset
|
8 |
rm -f $i.png |
d3e6484ebe85
changed the way icons are loaded for both toolbars and treectrl. Now, non editable items have different pyData.
etisserant
parents:
diff
changeset
|
9 |
"$INKSCAPE" `cygpath -w \`pwd\`/icons.svg` -z -e `cygpath -w \`pwd\`/$i.png` -i $i |
d3e6484ebe85
changed the way icons are loaded for both toolbars and treectrl. Now, non editable items have different pyData.
etisserant
parents:
diff
changeset
|
10 |
done |