17
17
my @choices = $this->question->choices_split;
18
18
my %default=map { $_ => 1 } $this->translate_default;
27
33
$this->widget->set_policy('automatic', 'automatic');
29
35
# TODO: isn't there a gtk multiselct list box that could be used
30
36
# instead of all these checkboxes?
33
39
for (my $i=0; $i <= $#choices; $i++) {
36
42
$buttons[$i]->set_active($default{$choices[$i]} ? 1 : 0);
37
43
$vbox->pack_start($buttons[$i], 0, 0, 0);