summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-02-09 13:44:09 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-02-09 13:44:09 +0000
commite5662d24f5e5bad186f9d5e9274bcee4d3536fab (patch)
tree84c9f0014f9286f016a92c51c68ed2cfd17ec6a5
parent4033bfb46ae709751ddd7544a63820526cf0dc68 (diff)
downloaddrakx-backup-do-not-use-e5662d24f5e5bad186f9d5e9274bcee4d3536fab.tar
drakx-backup-do-not-use-e5662d24f5e5bad186f9d5e9274bcee4d3536fab.tar.gz
drakx-backup-do-not-use-e5662d24f5e5bad186f9d5e9274bcee4d3536fab.tar.bz2
drakx-backup-do-not-use-e5662d24f5e5bad186f9d5e9274bcee4d3536fab.tar.xz
drakx-backup-do-not-use-e5662d24f5e5bad186f9d5e9274bcee4d3536fab.zip
partitioning_wizard: fix a crash on empty disk
-rw-r--r--perl-install/fs/partitioning_wizard.pm2
-rw-r--r--perl-install/install/NEWS1
2 files changed, 2 insertions, 1 deletions
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