slitaz-tools rev 245

netbox: add install button for ndiswrapper
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 16 21:49:51 2008 +0000 (2008-07-16)
parents 3dcbb752f68b
children a217ad15cbf2
files tinyutils/netbox
line diff
     1.1 --- a/tinyutils/netbox	Wed Jul 16 21:39:27 2008 +0000
     1.2 +++ b/tinyutils/netbox	Wed Jul 16 21:49:51 2008 +0000
     1.3 @@ -588,7 +588,21 @@
     1.4        </hbox>
     1.5  "
     1.6  tmp2="$tmp2$tmp3"
     1.7 -tmp3=""
     1.8 +tmp3='
     1.9 +      <hbox>
    1.10 +      <text wrap="true" use-markup="true">
    1.11 +        <label>
    1.12 +"<i>The package <b>ndiswrapper</b> is not yet installed</i>"
    1.13 +        </label>
    1.14 +      </text>
    1.15 +      <button>
    1.16 +        <input file icon="go-jump"></input>
    1.17 +	<label>Install</label>
    1.18 +	<action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -geometry 80x17 -title "ndiswrapper install" -e "tazpkg get-install ndiswrapper ; echo -e \"----\n\nENTER to continue...\" && read close"</action>
    1.19 +        <action type="exit">restart</action>
    1.20 +      </button>
    1.21 +      </hbox>
    1.22 +'
    1.23  [ -x /usr/sbin/ndiswrapper ] && tmp3='
    1.24        <hbox>
    1.25          <text use-markup="true">