diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-05 22:19:36 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-05 22:19:36 +0100 |
commit | 268cba8c4c879a49c1720a2536dc0c6a8af2e4f4 (patch) | |
tree | 8c8d3a94b7e388375e8f0f55553b84c17976f458 /src | |
parent | 7cb4b7a0d62defb5a622c968b9ca160e904b4e20 (diff) |
skeleton for new checklist function
Diffstat (limited to 'src')
-rw-r--r-- | src/core/libs/lib-ui.sh | 12 |
1 files changed, 12 insertions, 0 deletions
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? |