wok diff gtk+/stuff/replace-icons @ rev 19935

Up grub2 (2.02)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 30 10:12:31 2017 +0200 (2017-04-30)
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	Sun Apr 30 10:12:31 2017 +0200
     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