summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-10 21:29:21 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-10 21:29:21 +0100
commitec8ad51d881d71c780d84719d4833e781214c31e (patch)
tree2e603cfd6c17229175d67a0113a49184a438dc0b
parent34e5ea918eef5a4910e7211c087186edf7c690e9 (diff)
checklist fix
-rw-r--r--TODO1
-rw-r--r--src/core/libs/lib-ui.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/TODO b/TODO
index 4ca1927..1f4afb2 100644
--- a/TODO
+++ b/TODO
@@ -6,6 +6,7 @@ General:
* setup bugtracker/roadmap thingie
* find a way to not have to preload libs and stuff, only load them when needed. -> faster start of install program
* test refactored disk code
+* check everywhere that if users cancels something, we return 1
Specifically:
* core/interactive: fix workaround needed for installpkg exitcode
diff --git a/src/core/libs/lib-ui.sh b/src/core/libs/lib-ui.sh
index 84a889e..e79ce7b 100644
--- a/src/core/libs/lib-ui.sh
+++ b/src/core/libs/lib-ui.sh
@@ -278,7 +278,7 @@ _dia_ask_checklist ()
list="$list $1 $2 $3"
shift 3
done
- _dia_DIALOG --checklist "$str" $list 2>$ANSWER
+ _dia_DIALOG --checklist "$str" 30 60 20 $list 2>$ANSWER
ret=$?
ANSWER_CHECKLIST=`cat $ANSWER`
debug "_dia_ask_checklist: user checked ON: $ANSWER_CHECKLIST"