summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-12-16 13:21:11 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-16 13:21:11 +0100
commit6cc2bcd4cf9910461409a57f1429aabeddf51676 (patch)
treeeec463a8bd9d2b20857f330b085a1c8935d54491
parent4ff405c965bf8d1c7ee6eabfd2d2a6a96a4346b3 (diff)
downloaddrakx-6cc2bcd4cf9910461409a57f1429aabeddf51676.tar
drakx-6cc2bcd4cf9910461409a57f1429aabeddf51676.tar.gz
drakx-6cc2bcd4cf9910461409a57f1429aabeddf51676.tar.bz2
drakx-6cc2bcd4cf9910461409a57f1429aabeddf51676.tar.xz
drakx-6cc2bcd4cf9910461409a57f1429aabeddf51676.zip
fix a drakx crash (mga#6031)
-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 = (