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/diskdrake/hd_gtk.pm | |
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/diskdrake/hd_gtk.pm')
-rw-r--r-- | perl-install/diskdrake/hd_gtk.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |