summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/interactive/gtk.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index f56361bb2..92b4d360f 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- fix a drakx crash (mga#6031)
+
Version 16.15 - 12 December 2013
- workaround a gtk+3 issue resulting in blacked embbeded tools with some
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index ca6834f21..6b76b7d40 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -397,7 +397,7 @@ sub create_widget {
}
$w->signal_connect(clicked => $onchange->(sub { $w->get_active }));
${$e->{val}} ||= 0;
- $set = sub { $w->set_active($_[0]) };
+ $set = sub { $w->set_active($_[0] || 0) };
$real_w = add_padding($w);
} elsif ($e->{type} eq 'only_label') {
my @common = (