summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ca8ae79)
easydialog: add optional third argument to booleanBox, to set default no if needed (and actually needed by the upcoming dup.helper).
booleanBox() {
$DIALOG --backtitle "$BACKTITLE" --title "$1" \
booleanBox() {
$DIALOG --backtitle "$BACKTITLE" --title "$1" \
- --yesno "$2" $HEIGHT $WIDTH
+ `[ "$3" == no ] && echo '--defaultno'` --yesno "$2" $HEIGHT $WIDTH