slitaz-tools rev 92

soundconf dialogs match tazlocale/tazkmap size
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 09 12:33:31 2008 +0100 (2008-03-09)
parents b4d5ddf5a00d
children 8b02478373a7
files tinyutils/soundconf
line diff
     1.1 --- a/tinyutils/soundconf	Sat Mar 08 15:28:30 2008 +0100
     1.2 +++ b/tinyutils/soundconf	Sun Mar 09 12:33:31 2008 +0100
     1.3 @@ -548,7 +548,7 @@
     1.4  			printf "%s %s\n", id2, driver >>"'"$FOUND"'"
     1.5  	}
     1.6  }' < $CARDID_DB |\
     1.7 -    $DIALOG --gauge "$msg" 6 40 0
     1.8 +    $DIALOG --gauge "$msg" 15 70 5
     1.9  
    1.10      #
    1.11      # PowerMac
    1.12 @@ -1037,14 +1037,14 @@
    1.13      msg=$(gettext "           Probing legacy ISA cards
    1.14  
    1.15          Please select the drivers to probe:")
    1.16 -    eval $DIALOG --title \"$title\" --checklist \"$msg\" 17 64 8 $menu_args 2> $FOUND || acex 0
    1.17 +    eval $DIALOG --title \"$title\" --checklist \"$msg\" 15 70 5 $menu_args 2> $FOUND || acex 0
    1.18  
    1.19      if [ $try_all_combination != 1 ]; then
    1.20  	msg=$(gettext "
    1.21   Shall I try all possible DMA and IRQ combinations?
    1.22   With this option, some unconventional configuration
    1.23   might be found, but it will take much longer time.")
    1.24 -	if $DIALOG --yesno "$msg" 10 60
    1.25 +	if $DIALOG --yesno "$msg" 15 70 5
    1.26  	    then
    1.27  	    try_all_combination=1
    1.28  	fi
    1.29 @@ -1065,7 +1065,7 @@
    1.30      echo
    1.31      title=$(gettext "Result")
    1.32      msg=$(gettext "No legacy cards found")
    1.33 -    $DIALOG --title "$title" --msgbox "$msg" 5 50
    1.34 +    $DIALOG --title "$title" --msgbox "$msg" 15 70 5
    1.35      return 1
    1.36  }
    1.37  
    1.38 @@ -1158,7 +1158,7 @@
    1.39           Following card(s) are found on your system.
    1.40           Please skip or choose a soundcard to configure :
    1.41  ")
    1.42 -    eval $DIALOG --title \"$title\" --menu \"$msg\" 17 76 8 $devs_found 2> $FOUND || acex 0
    1.43 +    eval $DIALOG --title \"$title\" --menu \"$msg\" 15 70 5 $devs_found 2> $FOUND || acex 0
    1.44      card=`head -n 1 $FOUND`
    1.45      if [ "$card" = "legacy" ]; then
    1.46  	ac_config_legacy
    1.47 @@ -1173,7 +1173,7 @@
    1.48   Would you like to probe legacy ISA sound cards/chips?
    1.49  
    1.50  ")
    1.51 -    if $DIALOG --yesno "$msg" 9 60 ; then
    1.52 +    if $DIALOG --yesno "$msg" 15 70 5 ; then
    1.53  	ac_config_legacy
    1.54  	exit 0
    1.55      fi