diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-08 12:54:58 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-08 12:54:58 +0000 |
commit | 6e595219e3ef527de8a927064b4bfade3493acd9 (patch) | |
tree | 1265ae232c5fd3ba519d83832f3d7ac54a467168 | |
parent | 17e459c9a5e3c00fd328b40991e476214da18782 (diff) | |
download | drakx-backup-do-not-use-6e595219e3ef527de8a927064b4bfade3493acd9.tar drakx-backup-do-not-use-6e595219e3ef527de8a927064b4bfade3493acd9.tar.gz drakx-backup-do-not-use-6e595219e3ef527de8a927064b4bfade3493acd9.tar.bz2 drakx-backup-do-not-use-6e595219e3ef527de8a927064b4bfade3493acd9.tar.xz drakx-backup-do-not-use-6e595219e3ef527de8a927064b4bfade3493acd9.zip |
do not display "Clear all" (and the other per kind buttons) for the raid tab
-rw-r--r-- | perl-install/diskdrake/hd_gtk.pm | 3 |
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)), |