slitaz-tools rev 132

bootfloppybox: add 'Format floppy' button
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 09 14:10:20 2008 +0000 (2008-04-09)
parents efddda447456
children f538fc954eb2
files tinyutils/bootfloppybox
line diff
     1.1 --- a/tinyutils/bootfloppybox	Wed Apr 09 13:53:11 2008 +0000
     1.2 +++ b/tinyutils/bootfloppybox	Wed Apr 09 14:10:20 2008 +0000
     1.3 @@ -39,12 +39,17 @@
     1.4      <frame Floppy disk drive>
     1.5        <hbox>
     1.6          <text use-markup="true">
     1.7 -          <label>"<b>Device             : </b>"</label>
     1.8 +          <label>"<b>Device : </b>"</label>
     1.9          </text>
    1.10          <entry>
    1.11            <default>/dev/fd0</default>
    1.12            <variable>DEVICE</variable>
    1.13          </entry>
    1.14 +        <button>
    1.15 +          <label>Format floppy</label>
    1.16 +          <input file icon="forward"></input>
    1.17 +	  <action>fdformat -n $DEVICE</action>
    1.18 +        </button>
    1.19        </hbox>
    1.20      </frame>
    1.21  '