From e5662d24f5e5bad186f9d5e9274bcee4d3536fab Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 9 Feb 2010 13:44:09 +0000 Subject: partitioning_wizard: fix a crash on empty disk --- perl-install/fs/partitioning_wizard.pm | 2 +- perl-install/install/NEWS | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index b71ea9384..ea9521768 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -396,7 +396,7 @@ sub create_display_box { gtkset_size_request(Gtk2::Label->new("."), 1, 0)); gtkpack__($display_box, $part_sep); } - $display_box->remove($part_sep); + $display_box->remove($part_sep) if $part_sep; unless ($resize || $fill_empty) { my @types = (N_("Ext2/3/4"), N_("XFS"), N_("Swap"), arch() =~ /sparc/ ? N_("SunOS") : arch() eq "ppc" ? N_("HFS") : N_("Windows"), N_("Other"), N_("Empty")); diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 8524da6a3..72b817419 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -2,6 +2,7 @@ - partitioning wizard: o display lvm/dmraid name in combo box o allow reusing existing partitions in lvm + o fix a crash on empty disk Version 13.10 - 4 February 2010 -- cgit v1.2.1