summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-02-15 19:10:41 +0000
committerOlivier Blin <oblin@mandriva.org>2005-02-15 19:10:41 +0000
commitc8884e569881c14d820ae85274fb290ae9e6b874 (patch)
treee3d57f613850c71a6a01ff4fe6599a3ccd365dc9 /perl-install/standalone
parent542baadb7374a4afd1d6c6c17438ea87eb91e4f2 (diff)
downloaddrakx-backup-do-not-use-c8884e569881c14d820ae85274fb290ae9e6b874.tar
drakx-backup-do-not-use-c8884e569881c14d820ae85274fb290ae9e6b874.tar.gz
drakx-backup-do-not-use-c8884e569881c14d820ae85274fb290ae9e6b874.tar.bz2
drakx-backup-do-not-use-c8884e569881c14d820ae85274fb290ae9e6b874.tar.xz
drakx-backup-do-not-use-c8884e569881c14d820ae85274fb290ae9e6b874.zip
perl_checker fixes
Diffstat (limited to 'perl-install/standalone')
-rw-r--r--perl-install/standalone/drakids4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakids b/perl-install/standalone/drakids
index 06f35d490..2eaa7c4da 100644
--- a/perl-install/standalone/drakids
+++ b/perl-install/standalone/drakids
@@ -21,7 +21,7 @@ my $blacklist = Gtk2::SimpleList->new(addr => 'hidden',
N("Network interface") => 'text',
N("Protocol") => 'text',
);
-$blacklist->get_selection->set_mode ('multiple');
+$blacklist->get_selection->set_mode('multiple');
my $activefw = activefw->new(sub {
my ($con, $msg) = @_;
@@ -93,7 +93,7 @@ sub handle_blacklist {
}
sub unblacklist {
- my @addr = uniq(map { $blacklist->{data}->[$_]->[0] } $blacklist->get_selected_indices);
+ my @addr = uniq(map { $blacklist->{data}[$_][0] } $blacklist->get_selected_indices);
$activefw->unblacklist($_) foreach @addr;
#- delete from the list even if the above calls were unsuccessful
@{$blacklist->{data}} = grep { !member($_->[0], @addr) } @{$blacklist->{data}};