summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-23 19:50:50 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-23 19:50:50 +0000
commit4ee29cfe7d7879c9a926e00751c9743b3352b270 (patch)
tree4c970b4cb066f4d0d42337a60a1829a69013359d /perl-install/diskdrake
parent9186647ea5fd7505f6920c2debfd4f9e2000458f (diff)
downloaddrakx-4ee29cfe7d7879c9a926e00751c9743b3352b270.tar
drakx-4ee29cfe7d7879c9a926e00751c9743b3352b270.tar.gz
drakx-4ee29cfe7d7879c9a926e00751c9743b3352b270.tar.bz2
drakx-4ee29cfe7d7879c9a926e00751c9743b3352b270.tar.xz
drakx-4ee29cfe7d7879c9a926e00751c9743b3352b270.zip
(per_kind_action_box) fix too many parameters
issue introduced in commit r245228 on Sep 15 2008 (was: "split button bars into 3 bars") (spot by perl_checker)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index cb1d5b06a..c9eca1cec 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -199,12 +199,12 @@ sub per_kind_action_box {
$kind->{type} =~ /hd|lvm/ or return;
- foreach my $s (diskdrake::interactive::hd_possible_actions_base($in, kind2hd($kind), $all_hds)) {
+ foreach my $s (diskdrake::interactive::hd_possible_actions_base($in)) {
gtkadd($box,
gtksignal_connect(Gtk2::Button->new(translate($s)),
clicked => sub { try($s, kind2hd($kind)) }));
}
- foreach my $s (diskdrake::interactive::hd_possible_actions_extra($in, kind2hd($kind), $all_hds)) {
+ foreach my $s (diskdrake::interactive::hd_possible_actions_extra($in)) {
gtkadd($box2,
gtksignal_connect(Gtk2::Button->new(translate($s)),
clicked => sub { try($s, kind2hd($kind)) }));