From d6822f3c611babd9648fb1e6e97f24dabdf00515 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Wed, 8 Jun 2005 08:54:35 +0000 Subject: use list => --- samba_wizard/Sambashare.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samba_wizard') diff --git a/samba_wizard/Sambashare.pm b/samba_wizard/Sambashare.pm index ff9a6325..ee86edac 100755 --- a/samba_wizard/Sambashare.pm +++ b/samba_wizard/Sambashare.pm @@ -94,7 +94,7 @@ $o->{pages} = { $o->{var}{wiz_share} = 1; }, data => [ - { label => N("what do you want:"), val => \$o->{var}{wiz_share}, list => [ keys %share ], format => sub { $share{$_[0]} } }, + { label => N("what do you want:"), val => \$o->{var}{wiz_share}, type => 'list', list => [ keys %share ], format => sub { $share{$_[0]} } }, ], post => sub { if ($o->{var}{wiz_share} == 1) { -- cgit v1.2.1