tazpkg rev 334
tazpkgbox: some improvements to gui
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Mar 19 11:23:01 2010 +0000 (2010-03-19) |
parents | 7873a4992871 |
children | 73261c2eb10c |
files | lib/tazpkgbox/package_infos tazpkgbox |
line diff
1.1 --- a/lib/tazpkgbox/package_infos Fri Mar 19 09:51:01 2010 +0000 1.2 +++ b/lib/tazpkgbox/package_infos Fri Mar 19 11:23:01 2010 +0000 1.3 @@ -237,7 +237,7 @@ 1.4 PACKAGE_INFOS="$PACKAGE_INFOS 1.5 <item icon=\"tazpkg\">Modified by: | $(xargs echo < $ROOT/installed/$PKG/modifiers)</item>" 1.6 PACKAGE_INFOS="$PACKAGE_INFOS 1.7 - <item icon=\"applications-internet\">Web site: | $WEB_SITE</item> 1.8 + <item icon=\"applications-internet\">Website: | $WEB_SITE</item> 1.9 <item icon=\"help\">Tip: | double-click items above for more information</item> 1.10 <action> $0 info \"\$FIELD\" $PKG </action> 1.11 </tree> 1.12 @@ -409,7 +409,7 @@ 1.13 <item icon=\"tazpkg\">Config files: | $CONFIG_FILES</item>" 1.14 PACKAGE_INFOS="$PACKAGE_INFOS 1.15 <item icon=\"applications-internet\">Website: | $WEB_SITE</item> 1.16 - <item icon=\"help\">Tip: | double-click Website item for more information</item> 1.17 + <item icon=\"help\">Tip: | double-click Website for more information</item> 1.18 <action>case \$FIELD2 in Web*) browser $WEB_SITE &;; esac</action> 1.19 </tree> 1.20
2.1 --- a/tazpkgbox Fri Mar 19 09:51:01 2010 +0000 2.2 +++ b/tazpkgbox Fri Mar 19 11:23:01 2010 +0000 2.3 @@ -320,7 +320,7 @@ 2.4 <item>non-free</item> 2.5 </combobox> 2.6 <button> 2.7 - <label>List</label> 2.8 + <label>List Packages</label> 2.9 <input file icon="reload"></input> 2.10 <action>echo "$CAT" > /tmp/tazpkgbox/category</action> 2.11 <action>echo "$STATUS" > /tmp/tazpkgbox/status</action> 2.12 @@ -388,64 +388,75 @@ 2.13 <action>refresh:PKG_STATS</action> 2.14 <action>refresh:CACHE_STATS</action> 2.15 </tree> 2.16 + 2.17 <hbox> 2.18 - <text> 2.19 - <label>"Undigest:"</label> 2.20 - </text> 2.21 - <combobox> 2.22 - <variable>UNDIGEST_ENTRY</variable> 2.23 + 2.24 + <button> 2.25 + <label>Setup/Add undigest mirrors</label> 2.26 + <input file icon="go-next"></input> 2.27 + <action type="launch">SETUP_UNDIGEST</action> 2.28 + </button> 2.29 + </hbox> 2.30 + <frame List packages on undigest mirrors> 2.31 + <hbox> 2.32 + <text> 2.33 + <label>"Undigest:"</label> 2.34 + </text> 2.35 + <combobox> 2.36 + <variable>UNDIGEST_ENTRY</variable> 2.37 ' 2.38 TAZPKG_DIALOG="$TAZPKG_DIALOG $tmp" 2.39 for i in all $(ls /var/lib/tazpkg/undigest 2> /dev/null); do 2.40 TAZPKG_DIALOG="$TAZPKG_DIALOG <item>$i</item> " 2.41 done 2.42 -tmp=' </combobox> 2.43 - <button> 2.44 - <label>Setup undigest mirrors</label> 2.45 - <input file icon="go-next"></input> 2.46 - <action type="launch">SETUP_UNDIGEST</action> 2.47 - </button> 2.48 - </hbox> 2.49 - <hbox> 2.50 - <text> 2.51 - <label>"Status:"</label> 2.52 - </text> 2.53 - <combobox> 2.54 - <variable>UNDIGEST_STATUS</variable> 2.55 - <item>all</item> 2.56 - <item>installed</item> 2.57 - <item>installable</item> 2.58 - <item>blocked</item> 2.59 - <item>upgradeable</item> 2.60 - </combobox> 2.61 - <text> 2.62 - <label>"Category:"</label> 2.63 - </text> 2.64 - <combobox> 2.65 - <variable>UNDIGEST_CAT</variable> 2.66 - <item>all</item> 2.67 - <item>base-system</item> 2.68 - <item>x-window</item> 2.69 - <item>utilities</item> 2.70 - <item>network</item> 2.71 - <item>graphics</item> 2.72 - <item>multimedia</item> 2.73 - <item>office</item> 2.74 - <item>development</item> 2.75 - <item>system-tools</item> 2.76 - <item>security</item> 2.77 - <item>games</item> 2.78 - <item>misc</item> 2.79 - <item>meta</item> 2.80 - <item>non-free</item> 2.81 - </combobox> 2.82 - <button> 2.83 - <label>List</label> 2.84 - <input file icon="reload"></input> 2.85 - <action>echo "$UNDIGEST_CAT $UNDIGEST_ENTRY $UNDIGEST_STATUS" > /tmp/tazpkgbox/undigest-category</action> 2.86 - <action>refresh:DEV</action> 2.87 - </button> 2.88 - </hbox> 2.89 +tmp=' </combobox> 2.90 + 2.91 + <text> 2.92 + <label>"Status:"</label> 2.93 + </text> 2.94 + <combobox> 2.95 + <variable>UNDIGEST_STATUS</variable> 2.96 + <item>all</item> 2.97 + <item>installed</item> 2.98 + <item>installable</item> 2.99 + <item>blocked</item> 2.100 + <item>upgradeable</item> 2.101 + </combobox> 2.102 + </hbox> 2.103 + <hbox> 2.104 + <text> 2.105 + <label>"Category:"</label> 2.106 + </text> 2.107 + <combobox> 2.108 + <variable>UNDIGEST_CAT</variable> 2.109 + <item>all</item> 2.110 + <item>base-system</item> 2.111 + <item>x-window</item> 2.112 + <item>utilities</item> 2.113 + <item>network</item> 2.114 + <item>graphics</item> 2.115 + <item>multimedia</item> 2.116 + <item>office</item> 2.117 + <item>development</item> 2.118 + <item>system-tools</item> 2.119 + <item>security</item> 2.120 + <item>games</item> 2.121 + <item>misc</item> 2.122 + <item>meta</item> 2.123 + <item>non-free</item> 2.124 + </combobox> 2.125 + <text> 2.126 + <label>" "</label> 2.127 + </text> 2.128 + <button> 2.129 + <label>" List Packages "</label> 2.130 + <input file icon="reload"></input> 2.131 + <action>echo "$UNDIGEST_CAT $UNDIGEST_ENTRY $UNDIGEST_STATUS" > /tmp/tazpkgbox/undigest-category</action> 2.132 + <action>refresh:DEV</action> 2.133 + </button> 2.134 + </hbox> 2.135 + </frame> 2.136 + 2.137 </vbox> 2.138 2.139 <vbox> 2.140 @@ -489,6 +500,7 @@ 2.141 </button> 2.142 </hbox> 2.143 </frame> 2.144 + <hbox> 2.145 <frame Mirror URL> 2.146 <hbox> 2.147 <entry> 2.148 @@ -509,20 +521,25 @@ 2.149 <action>clear:MIRROR</action> 2.150 <action>refresh:MIRROR</action> 2.151 </button> 2.152 + </hbox> 2.153 + </frame> 2.154 + <frame Mirror Packages> 2.155 + <hbox> 2.156 <button> 2.157 <input file icon="media-cdrom"></input> 2.158 - <label>DVD</label> 2.159 + <label>DVD Box</label> 2.160 <action type="launch">SETUP_DVD</action> 2.161 </button> 2.162 - </hbox> 2.163 + </hbox> 2.164 </frame> 2.165 + </hbox> 2.166 <hbox> 2.167 - <frame Journal> 2.168 + <frame Install Logs> 2.169 <hbox> 2.170 <button> 2.171 - <label>Show journal</label> 2.172 + <label>View Logs</label> 2.173 <input file icon="find"></input> 2.174 - <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -T "$(ls -l /var/log/tazpkg.log | while read mod links user grep remain ; do echo $remain ; done) (q to quit)" -geometry 80x25+120+120 -e "cat /var/log/tazpkg.log | less"</action> 2.175 + <action>xterm -fa MiscFixed -fs 11 -T "$(ls -l /var/log/tazpkg.log | while read mod links user grep remain ; do echo $remain ; done) (q to quit)" -geometry 80x25+120+120 -e "cat /var/log/tazpkg.log | less"</action> 2.176 </button> 2.177 </hbox> 2.178 </frame> 2.179 @@ -531,10 +548,10 @@ 2.180 <button> 2.181 <label>Repack config</label> 2.182 <input file icon="edit-redo"></input> 2.183 - <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -T "Repack configs" -geometry 80x25+120+120 -e "tazpkg repack-config ; sleep 5" 2> /dev/null</action> 2.184 + <action>xterm -fa MiscFixed -fs 11 -T "Repack configs" -geometry 80x25+120+120 -e "tazpkg repack-config ; sleep 5" 2> /dev/null</action> 2.185 </button> 2.186 <button> 2.187 - <label>Show Files</label> 2.188 + <label>View Files</label> 2.189 <input file icon="tazpkg"></input> 2.190 <action type="launch">LIST_CONFIG_FILES</action> 2.191 </button> 2.192 @@ -545,12 +562,12 @@ 2.193 <button> 2.194 <label>Quick check</label> 2.195 <input file icon="system-search"></input> 2.196 - <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -T "Check packages (q to quit)" -geometry 80x25+120+120 -e "tazpkg check | less " 2> /dev/null</action> 2.197 + <action>xterm -fa MiscFixed -fs 11 -T "Check packages (q to quit)" -geometry 80x25+120+120 -e "tazpkg check | less " 2> /dev/null</action> 2.198 </button> 2.199 <button> 2.200 <label>Full check</label> 2.201 <input file icon="system-search"></input> 2.202 - <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -T "Check packages (q to quit)" -geometry 80x25+120+120 -e "tazpkg check --full | less " 2> /dev/null</action> 2.203 + <action>xterm -fa MiscFixed -fs 11 -T "Check packages (q to quit)" -geometry 80x25+120+120 -e "tazpkg check --full | less " 2> /dev/null</action> 2.204 </button> 2.205 </hbox> 2.206 </frame> 2.207 @@ -586,9 +603,9 @@ 2.208 <action>refresh:CACHE_STATS</action> 2.209 </button> 2.210 <button> 2.211 - <label>Wok</label> 2.212 + <label> View Wok</label> 2.213 <input file icon="gtk-open"></input> 2.214 - <action>firefox http://hg.slitaz.org/wok/file/</action> 2.215 + <action>browser http://hg.slitaz.org/wok/file/</action> 2.216 </button> 2.217 <button help> 2.218 <label>Help</label>