diff options
author | intrigeri <intrigeri@boum.org> | 2005-11-29 10:08:09 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2005-11-29 10:08:09 +0000 |
commit | 76e194e412041fdfe56a31b2e7969bac206af7d0 (patch) | |
tree | 065960f56801593486de34681ff8f7eebcdb43c7 /handlers/easydialog.sh | |
parent | ca8ae79915bb9c891e2f6b5a3094ebfd3303442b (diff) | |
download | backupninja-76e194e412041fdfe56a31b2e7969bac206af7d0.tar.gz backupninja-76e194e412041fdfe56a31b2e7969bac206af7d0.tar.bz2 |
r3552@krups: intrigeri | 2005-11-15 03:13:03 +0100
easydialog: add optional third argument to booleanBox, to set default no if needed (and actually needed by the upcoming dup.helper).
Diffstat (limited to 'handlers/easydialog.sh')
-rw-r--r-- | handlers/easydialog.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/easydialog.sh b/handlers/easydialog.sh index bb7e8e3..0113d9c 100644 --- 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() { |