blob: 81da89b525e30646ee52abc5ca90c229437ca641 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# $Id: report-yesno,v 1.1 2010/01/13 10:40:14 tom Exp $
# Report button-only, no $RESULT
# vile:shmode
case $retval in
$DIALOG_OK)
echo "YES";;
$DIALOG_CANCEL)
echo "NO";;
$DIALOG_HELP)
echo "Help pressed.";;
$DIALOG_EXTRA)
echo "Extra button pressed.";;
$DIALOG_ITEM_HELP)
echo "Item-help button pressed.";;
$DIALOG_ERROR)
echo "ERROR!";;
$DIALOG_ESC)
echo "ESC pressed.";;
esac
|