projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca8ae79
)
r3552@krups: intrigeri | 2005-11-15 03:13:03 +0100
author
intrigeri
<intrigeri@boum.org>
Tue, 29 Nov 2005 10:08:09 +0000
(10:08 +0000)
committer
intrigeri
<intrigeri@boum.org>
Tue, 29 Nov 2005 10:08:09 +0000
(10:08 +0000)
easydialog: add optional third argument to booleanBox, to set default no if needed (and actually needed by the upcoming dup.helper).
handlers/easydialog.sh
patch
|
blob
|
history
diff --git
a/handlers/easydialog.sh
b/handlers/easydialog.sh
index bb7e8e3a8f97fc9aa2494916269b5cf09846312a..0113d9cb18885b997916996245d14d67064318df 100644
(file)
--- a/
handlers/easydialog.sh
+++ b/
handlers/easydialog.sh
@@
-33,7
+33,7
@@
setDimension() {
booleanBox() {
$DIALOG --backtitle "$BACKTITLE" --title "$1" \
- --yesno "$2" $HEIGHT $WIDTH
+
`[ "$3" == no ] && echo '--defaultno'`
--yesno "$2" $HEIGHT $WIDTH
}
msgBox() {