summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-30 08:18:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-30 08:18:13 +0000
commitb41b3123a7dd9710581301cae53bd1dca8b3597f (patch)
treecda00911a8c491cafd627fb2cd39981c2dc5f9de
parent29250ae29df932195c3f9c80816025b5703ce3e3 (diff)
downloaddrakx-b41b3123a7dd9710581301cae53bd1dca8b3597f.tar
drakx-b41b3123a7dd9710581301cae53bd1dca8b3597f.tar.gz
drakx-b41b3123a7dd9710581301cae53bd1dca8b3597f.tar.bz2
drakx-b41b3123a7dd9710581301cae53bd1dca8b3597f.tar.xz
drakx-b41b3123a7dd9710581301cae53bd1dca8b3597f.zip
diskdrake: fix color of "Empty" in the legend (#32980)
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index a2c7f5589..b411fd477 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -361,7 +361,7 @@ sub filesystems_button_box() {
my $t = $name2fs_type{$_};
$w->signal_connect(clicked => sub { try_('', \&createOrChangeType, $t, current_hd(), current_part()) });
$w->can_focus(0);
- $w->set_name("PART_$t");
+ $w->set_name('PART_' . ($t || 'empty'));
$w;
} @types);
}