# HG changeset patch # User Pascal Bellard # Date 1428480300 -7200 # Node ID 636b4e8dcf6a4ae02ca6127a078716457245caaa # Parent 0bda827841cdc58d9b64ea18fc4f623926f3dbb2 tazpkg-notify: remove toolbar diff -r 0bda827841cd -r 636b4e8dcf6a tazpkg-notify --- a/tazpkg-notify Wed Apr 08 09:54:28 2015 +0200 +++ b/tazpkg-notify Wed Apr 08 10:05:00 2015 +0200 @@ -25,6 +25,7 @@ fifo=/tmp/$(basename $0).fifo +tazweb="tazweb --notoolbar" panelbase="http://tazpanel:82/pkgs.cgi" panel="http://tazpanel:82/user/pkgs.cgi" doc="file:///usr/share/doc/tazpkg/tazpkg.html" @@ -62,11 +63,11 @@ menu() { cat << EOT menu:\ -$(_n 'My packages' )!tazweb $panelbase?list!TazPkg|\ -$(_n 'Recharge lists' )!tazweb $panel?recharge!tazpkg-up|\ -$(_n 'Check upgrade' )!tazweb $panel?up!tazpkg-up|\ +$(_n 'My packages' )!$tazweb $panelbase?list!TazPkg|\ +$(_n 'Recharge lists' )!$tazweb $panel?recharge!tazpkg-up|\ +$(_n 'Check upgrade' )!$tazweb $panel?up!tazpkg-up|\ $(_n 'TazPkg SHell' )!terminal -e tazpkg shell!utilities-terminal|\ -$(_n 'TazPkg manual' )!tazweb $doc!slitaz-doc|\ +$(_n 'TazPkg manual' )!$tazweb $doc!slitaz-doc|\ $(_n 'Close notification')!quit!gtk-close EOT } @@ -88,7 +89,7 @@ # Missing packages list if [ ! -f $PKGS_DB/packages.list ]; then tooltip="$(_ 'No packages list found - %s' "$text")" - (echo "action:tazweb $panel?recharge" + (echo "action:$tazweb $panel?recharge" echo "tooltip:$tooltip" echo "icon:tazpkg-up") > $fifo exit 0 @@ -97,7 +98,7 @@ # Too old packages list if [ "$mtime" ]; then tooltip="$(_ 'Your packages list is older than 10 days')" - (echo "action:tazweb $panel?recharge" + (echo "action:$tazweb $panel?recharge" echo "tooltip:$tooltip" echo "icon:tazpkg-up") > $fifo exit 0 @@ -109,7 +110,7 @@ 'There is %s upgradeable package' \ 'There are %s upgradeable packages' $up \ "$up")" - (echo "action:tazweb $panel?up" + (echo "action:$tazweb $panel?up" echo "tooltip:$tooltip" echo "icon:tazpkg-up") > $fifo exit 0