From b41b3123a7dd9710581301cae53bd1dca8b3597f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 30 Aug 2007 08:18:13 +0000 Subject: diskdrake: fix color of "Empty" in the legend (#32980) --- perl-install/diskdrake/hd_gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.1