summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index fb741e499..2de971f89 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -160,6 +160,9 @@ sub general_action_box {
sub per_kind_action_box {
my ($box, $kind) = @_;
$_->widget->destroy foreach $box->children;
+
+ $kind->{type} =~ /hd|lvm/ or return;
+
foreach my $s (diskdrake::interactive::hd_possible_actions($in, kind2hd($kind), $all_hds)) {
gtkadd($box,
gtksignal_connect(new Gtk::Button(translate($s)),