tazpkg diff tazpkg-notify @ rev 560

small fixes to notify and box
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 02 15:53:46 2012 +0100 (2012-03-02)
parents b52c1a1105e2
children 549cda4259ac
line diff
     1.1 --- a/tazpkg-notify	Fri Mar 02 15:10:11 2012 +0100
     1.2 +++ b/tazpkg-notify	Fri Mar 02 15:53:46 2012 +0100
     1.3 @@ -23,6 +23,7 @@
     1.4  doc="/usr/share/doc/tazpkg/tazpkg.html"
     1.5  installed=$(ls $db/installed | wc -l)
     1.6  text="$(gettext "Installed packages") <b>$installed</b>"
     1.7 +icon="/usr/share/pixmaps/tazpkg.png"
     1.8  [ -f "$db/packages.list" ] && mtime=$(find $db/packages.list -mtime +10;)
     1.9  [ -f "$db/packages.up" ] && up=$(cat $db/packages.up | wc -l)
    1.10  
    1.11 @@ -33,7 +34,7 @@
    1.12  	# Attach a file descriptor
    1.13  	exec 3<> $fifo	
    1.14  	# Notification icon
    1.15 -	yad --notification --listen --image="tazpkg" \
    1.16 +	yad --notification --listen --image=$icon \
    1.17  		--text="Checking packages lists - $text" <&3
    1.18  	# Clean-up
    1.19  	rm -f $fifo