tazpkg diff tazpkgbox @ rev 350
Move all splited functions to libtazpkgbox (easier for translation)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jun 20 23:46:40 2010 +0200 (2010-06-20) |
parents | d6183a5cf8c4 |
children | f50e99d54383 |
line diff
1.1 --- a/tazpkgbox Sun Jun 20 11:52:56 2010 +0200 1.2 +++ b/tazpkgbox Sun Jun 20 23:46:40 2010 +0200 1.3 @@ -2,14 +2,14 @@ 1.4 # 1.5 # GTKdialog interface to SliTaz Packages Manager aka Tazpkg. Notes: 1.6 # Notebook tab are vbox, tabs are used to indent and functions are 1.7 -# split and found in $LIB. 1.8 +# split and found in libtazpkgbox. 1.9 # 1.10 # (C) GNU gpl v3 - SliTaz GNU/Linux 2010. 1.11 # 1.12 VERSION=4.0 1.13 1.14 # Functions path. 1.15 -export LIB=/usr/lib/slitaz/tazpkgbox 1.16 +export LIB=/usr/lib/slitaz/libtazpkgbox 1.17 1.18 # Tazpkgbox is only for root. 1.19 if test $(id -u) != 0 ; then 1.20 @@ -285,9 +285,9 @@ 1.21 <width>620</width><height>240</height> 1.22 <variable>PKG</variable> 1.23 <label>Name|Version|Description</label> 1.24 - <input icon_column="0">$LIB/list all</input> 1.25 + <input icon_column="0">$LIB list-all</input> 1.26 <action>echo "$PKG" > /tmp/tazpkgbox/pkg</action> 1.27 - <action>$LIB/package_infos</action> 1.28 + <action>$LIB package-infos</action> 1.29 <action>refresh:PKG</action> 1.30 <action>refresh:PKG_STATS</action> 1.31 <action>refresh:CACHE_STATS</action> 1.32 @@ -343,8 +343,8 @@ 1.33 <label>Packages Name|Version|Description / File</label> 1.34 <input icon_column="0">cat /tmp/tazpkgbox/search</input> 1.35 <action>echo "$RESULT" > /tmp/tazpkgbox/pkg</action> 1.36 - <action>$LIB/package_infos</action> 1.37 - <action>$LIB/search packages</action> 1.38 + <action>$LIB package-infos</action> 1.39 + <action>$LIB search-packages</action> 1.40 <action>refresh:RESULT</action> 1.41 <action>refresh:PKG</action> 1.42 <action>refresh:PKG_STATS</action> 1.43 @@ -360,13 +360,13 @@ 1.44 <button> 1.45 <label>Packages/Description</label> 1.46 <input file icon="system-search"></input> 1.47 - <action>$LIB/search packages</action> 1.48 + <action>$LIB search-packages</action> 1.49 <action>refresh:RESULT</action> 1.50 </button> 1.51 <button> 1.52 <label>Files</label> 1.53 <input file icon="system-search"></input> 1.54 - <action>$LIB/search files</action> 1.55 + <action>$LIB search-files</action> 1.56 <action>refresh:RESULT</action> 1.57 </button> 1.58 ' 1.59 @@ -374,7 +374,7 @@ 1.60 <button> 1.61 <label>Tags</label> 1.62 <input file icon="system-search"></input> 1.63 - <action>$LIB/search tags</action> 1.64 + <action>$LIB search-tags</action> 1.65 <action>refresh:RESULT</action> 1.66 </button> 1.67 ' 1.68 @@ -388,9 +388,9 @@ 1.69 <width>620</width><height>240</height> 1.70 <variable>DEV</variable> 1.71 <label>Name|Version|Description</label> 1.72 - <input icon_column="0">$LIB/list undigest</input> 1.73 + <input icon_column="0">$LIB list-undigest</input> 1.74 <action>echo "$DEV" > /tmp/tazpkgbox/pkg</action> 1.75 - <action>$LIB/package_infos</action> 1.76 + <action>$LIB package-infos</action> 1.77 <action>refresh:PKG</action> 1.78 <action>refresh:PKG_STATS</action> 1.79 <action>refresh:CACHE_STATS</action> 1.80 @@ -631,6 +631,6 @@ 1.81 ' 1.82 TAZPKG_DIALOG="$TAZPKG_DIALOG$tmp" 1.83 1.84 -gtkdialog --center --program=TAZPKG_DIALOG >/dev/null 1.85 +gtkdialog --center --program=TAZPKG_DIALOG #>/dev/null 1.86 1.87 exit 0