diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-03-27 12:59:40 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-03-27 12:59:40 +0000 |
commit | 9776f92fa8acd6952d428f75b0f8fddb4193dec1 (patch) | |
tree | eb19a3292f86d1bd06e0dcfa4c53b7c75d45f86e /perl-install | |
parent | 11850b2b3591a3f98d4818a56df749abe591f2be (diff) | |
download | drakx-9776f92fa8acd6952d428f75b0f8fddb4193dec1.tar drakx-9776f92fa8acd6952d428f75b0f8fddb4193dec1.tar.gz drakx-9776f92fa8acd6952d428f75b0f8fddb4193dec1.tar.bz2 drakx-9776f92fa8acd6952d428f75b0f8fddb4193dec1.tar.xz drakx-9776f92fa8acd6952d428f75b0f8fddb4193dec1.zip |
diskdrake: display label in the graphical view when no mountpoint is set
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/diskdrake/hd_gtk.pm | 2 | ||||
-rw-r--r-- | perl-install/install/NEWS | 2 |
3 files changed, 4 insertions, 1 deletions
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 |