From 9776f92fa8acd6952d428f75b0f8fddb4193dec1 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Fri, 27 Mar 2009 12:59:40 +0000 Subject: diskdrake: display label in the graphical view when no mountpoint is set --- perl-install/NEWS | 1 + perl-install/diskdrake/hd_gtk.pm | 2 +- perl-install/install/NEWS | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 33a6caaa4..a24f165f5 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -4,6 +4,7 @@ - fixed a typo in list_modules for virtio modules - diskdrake: o updated list of filesystems not handling bad blocks checking + o display label in the graphical view when no mountpoint is set Version 12.18 - 25 March 2009 diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index a29adca79..dfbbfeb0d 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -313,7 +313,7 @@ sub create_buttons4partitions { }; foreach my $entry (@parts) { - my $info = $entry->{mntpoint}; + my $info = $entry->{mntpoint} || $entry->{device_LABEL}; $info .= "\n" . ($entry->{size} ? formatXiB($entry->{size}, 512) : N("Unknown")) if $info; my $w = Gtk2::ToggleButton->new_with_label($info) or internal_error('new_with_label'); $w->signal_connect(clicked => sub { diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index d18a41198..546514cde 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,4 +1,6 @@ - update list of filesystems not handling bad blocks checking +- display label of partitions in the graphical view when no mountpoint + is set Version 12.19 - 26 March 2009 -- cgit v1.2.1