diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-23 19:50:50 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-23 19:50:50 +0000 |
commit | eda70b816874b15209f31ce1ce22450ff771ea00 (patch) | |
tree | 4c970b4cb066f4d0d42337a60a1829a69013359d /perl-install/diskdrake | |
parent | 675325294d4b19c819c708751dc6d6a1b71564a3 (diff) | |
download | drakx-backup-do-not-use-eda70b816874b15209f31ce1ce22450ff771ea00.tar drakx-backup-do-not-use-eda70b816874b15209f31ce1ce22450ff771ea00.tar.gz drakx-backup-do-not-use-eda70b816874b15209f31ce1ce22450ff771ea00.tar.bz2 drakx-backup-do-not-use-eda70b816874b15209f31ce1ce22450ff771ea00.tar.xz drakx-backup-do-not-use-eda70b816874b15209f31ce1ce22450ff771ea00.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.pm | 4 |
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)) })); |