From ec8ad51d881d71c780d84719d4833e781214c31e Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Wed, 10 Dec 2008 21:29:21 +0100 Subject: checklist fix --- TODO | 1 + src/core/libs/lib-ui.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3-54-g00ecf