From 268cba8c4c879a49c1720a2536dc0c6a8af2e4f4 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Fri, 5 Dec 2008 22:19:36 +0100 Subject: skeleton for new checklist function --- src/core/libs/lib-ui.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/core/libs/lib-ui.sh') diff --git a/src/core/libs/lib-ui.sh b/src/core/libs/lib-ui.sh index c67dbbf..72052c0 100644 --- a/src/core/libs/lib-ui.sh +++ b/src/core/libs/lib-ui.sh @@ -123,6 +123,12 @@ _getavaildisks() } +ask_checklist () #TODO +{ + true +} + + # TODO: we should have a wrapper around this function that keeps trying until the user entered a valid numeric?, maybe a wrapper that wraps all functions # ask for a number. @@ -223,6 +229,12 @@ _dia_DIALOG() } +_dia_ask_checklist () #TODO: implement this +{ + _dia_DIALOG --checklist "$1" $list +} + + _dia_ask_number () { #TODO: i'm not entirely sure this works perfectly. what if user doesnt give anything or wants to abort? -- cgit v1.2.3-54-g00ecf