tazlito diff tazlito-wiz @ rev 363

Tiny edit
author Paul Issott <paul@slitaz.org>
date Fri Nov 21 17:35:37 2014 +0000 (2014-11-21)
parents b3041f9d49ab
children 0c21c98caecb
line diff
     1.1 --- a/tazlito-wiz	Thu Jan 02 19:22:15 2014 +0100
     1.2 +++ b/tazlito-wiz	Fri Nov 21 17:35:37 2014 +0000
     1.3 @@ -8,7 +8,7 @@
     1.4  
     1.5  width="560"
     1.6  icon="/usr/share/pixmaps/slitaz-icon.png"
     1.7 -opts="--height=300 --width=$width --image=$icon  
     1.8 +opts="--height=300 --width=$width --image=$icon --center
     1.9  --image-on-top --window-icon=$icon --title=LiveWizard"
    1.10  rel=$(cat /etc/slitaz-release)
    1.11  [ "$rel" != "cooking" ] && rel=stable
    1.12 @@ -38,7 +38,7 @@
    1.13  #
    1.14  
    1.15  progress() {
    1.16 -	yad --progress --height="140" --width="$width" \
    1.17 +	yad --progress --height="140" --width="$width" --center \
    1.18  		--image=$icon --image-on-top --window-icon=$icon \
    1.19  		--text="<b>$text</b>" --title="SliTaz Live progress" --auto-close
    1.20  }
    1.21 @@ -162,7 +162,9 @@
    1.22  	# Deal with --button values
    1.23  	case $? in
    1.24  		1) exit 0 ;;
    1.25 -		*) echo -e "\n" | tazlito gen-distro 2>&1 | yad \
    1.26 +		*)
    1.27 +			export output=gtk
    1.28 +			echo -e "\n" | tazlito gen-distro 2>&1 | yad \
    1.29  			--text-info $opts --tail \
    1.30  			--text="<b>$(gettext "Building the Live system...")</b>" ;;
    1.31  	esac