tazpkg rev 331

tazpkgbox: replace firefox; add tip item
author Rohit Joshi <jozee@slitaz.org>
date Thu Mar 18 17:25:43 2010 +0000 (2010-03-18)
parents dc03e5ec0773
children cd4d52716080
files lib/tazpkgbox/package_infos
line diff
     1.1 --- a/lib/tazpkgbox/package_infos	Thu Mar 18 15:03:49 2010 +0000
     1.2 +++ b/lib/tazpkgbox/package_infos	Thu Mar 18 17:25:43 2010 +0000
     1.3 @@ -26,10 +26,10 @@
     1.4  	RECEIPT=$ROOT/installed/$3/receipt
     1.5  	. $RECEIPT
     1.6  	case "$2" in
     1.7 -	Web*) firefox $WEB_SITE &;;
     1.8 +	Web*) browser $WEB_SITE &;;
     1.9  	Siz*) xterm -T "$3 depends (q to quit)" -e "$0 sizes $3 | less";;
    1.10  	Upg*) xterm -T "$3 upgrade" -e "tazpkg get-install $3 --forced ; sleep 2";;
    1.11 -	Hand*) firefox $HANDBOOK_URL &;;
    1.12 +	Hand*) browser $HANDBOOK_URL &;;
    1.13  	Sug*) $0 list_packages $SUGGESTED;;
    1.14  	Dep*) $0 list_packages $DEPENDS;;
    1.15  	Mod*) $0 list_packages $(xargs echo < $ROOT/installed/$3/modifiers);;
    1.16 @@ -212,7 +212,7 @@
    1.17  	<tree>
    1.18  		<width>460</width><height>200</height>
    1.19  		<label>$PKG|$SHORT_DESC</label>
    1.20 -		<variable>FIELD</variable>
    1.21 +		<variable>FIELD</variable>		
    1.22  		<item icon=\"tazpkg\">Version: | $VERSION</item>
    1.23  		<item icon=\"tazpkg\">Category: | $CATEGORY</item>"
    1.24  [ -n "$UPGRADE" ] && PACKAGE_INFOS="$PACKAGE_INFOS
    1.25 @@ -239,6 +239,7 @@
    1.26  PACKAGE_INFOS="$PACKAGE_INFOS
    1.27  		<item icon=\"applications-internet\">Web site: | $WEB_SITE</item>
    1.28  		<action> $0 info \"\$FIELD\" $PKG </action>
    1.29 +		<item icon=\"help\">Tip: | Double-click items above to view more information</item>
    1.30  	</tree>
    1.31  
    1.32  	<hbox>"
    1.33 @@ -408,7 +409,8 @@
    1.34  		<item icon=\"tazpkg\">Config files: | $CONFIG_FILES</item>"
    1.35  	PACKAGE_INFOS="$PACKAGE_INFOS
    1.36  		<item icon=\"applications-internet\">Web site: | $WEB_SITE</item>
    1.37 -		<action>case \$FIELD2 in Web*) firefox $WEB_SITE &;; esac</action>
    1.38 +		<action>case \$FIELD2 in Web*) browser $WEB_SITE &;; esac</action>
    1.39 +		<item icon=\"help\">Tip: | Double-click items above to view more information</item>
    1.40  	</tree>
    1.41  
    1.42  	<hbox>"