wok diff gtk+/stuff/replace-icons @ rev 21013
updated guacamole and guacamole-dev (0.9.4 -> 1.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 09 16:51:29 2019 +0100 (2019-03-09) |
parents | acc112d7f4e2 |
children |
line diff
1.1 --- a/gtk+/stuff/replace-icons Fri Oct 03 17:25:23 2014 +0300 1.2 +++ b/gtk+/stuff/replace-icons Sat Mar 09 16:51:29 2019 +0100 1.3 @@ -1,12 +1,9 @@ 1.4 -# GTK+ stock icons looks alienly for SliTaz based on Faenza icon theme. 1.5 -# These icons takes place, and we don't use them. 1.6 -# This script replaces GTK+ stock icons by Faenza icons. 1.7 +# Replace GTK+ stock icons by Faenza icons 1.8 +# in order to strip icon theme and save some space. 1.9 1.10 -# All "-rtl" variants of icons are just mirrored horizontally original icons. 1.11 -# "media-seek-backward" and "media-seek-forward" composed from "media-palyback" 1.12 -# icon using the GIMP. 1.13 +echo -n "Replacing icons... " 1.14 1.15 -F=$WOK/faenza-icon-theme/taz/*/fs/usr/share/icons/Faenza 1.16 +F=/usr/share/icons/Faenza 1.17 1.18 Ac16=$F/actions/16 1.19 De16=$F/devices/16 1.20 @@ -287,7 +284,11 @@ 1.21 cp -f $St48/dialog-question.png . 1.22 cp -f $St48/dialog-warning.png . 1.23 1.24 +echo "Done" 1.25 + 1.26 for folder in 16 20 24 32 48; do 1.27 + echo -n "Optimizing folder icons $folder... " 1.28 cd $src/gtk/stock-icons/$folder 1.29 optipng -quiet -o7 -zm1-9 ./* 1.30 + echo "Done" 1.31 done