beremiz
Clone
Summary
Browse
Changes
Graph
make About and Find dialogs have the same icon as main Beremiz window
2016-04-20, Andrey Skvortsov
f03bc6c9c146
file is
Executable
make About and Find dialogs have the same icon as main Beremiz window
all child windows will take the parent's icon, if no other is specified.
#!/bin/bash
INKSCAPE=inkscape
for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'`
do
if [ $i.png -nt icons.svg ]; then
echo "Skip $i"
else
rm -f $i.png
echo "$INKSCAPE" icons.svg -z -e $i.png -i $i
"$INKSCAPE" icons.svg -z -e $i.png -i $i
fi
done
cp ico24.png brz.png
convert ico*.png brz.ico
rm -f ico*.png