From 3648552d18fb07620fcaeff49bdf845a153e7945 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 5 Dec 2013 07:34:19 +0100 Subject: fix a crash when creating partitins (mga#11876) --- perl-install/NEWS | 3 +++ perl-install/install/NEWS | 3 +++ perl-install/interactive/gtk.pm | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index f05aa12f9..9a5a24d74 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- diskdrake: + o fix a crash when creating partitins (mga#11876) + Version 16.6 - 4 December 2013 - fix blue background behind left panel text (mga#11866) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 15a3f9920..b0a2f4115 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,6 @@ +- partitioning: + o fix a crash when creating partitins (mga#11876) + Version 16.6 - 4 December 2013 - fix blue background behind left panel text (mga#11866) diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index b233ac01d..94739b356 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -393,7 +393,7 @@ sub create_widget { $w = ugtk3::gtkadd(Gtk3::CheckButton->new, gtkshow(gtkcreate_img($e->{image}))); } else { #- warn "\"text\" member should have been used instead of \"label\" one at:\n", common::backtrace(), "\n" if $e->{label} && !$e->{text}; - $w = Gtk3::CheckButton->new_with_label($e->{text}); + $w = Gtk3::CheckButton->new_with_label($e->{text} || ''); } $w->signal_connect(clicked => $onchange->(sub { $w->get_active })); ${$e->{val}} ||= 0; -- cgit v1.2.1