summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakroam
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakroam')
-rwxr-xr-xperl-install/standalone/drakroam8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/drakroam b/perl-install/standalone/drakroam
index 8a4272bcb..a375d82a0 100755
--- a/perl-install/standalone/drakroam
+++ b/perl-install/standalone/drakroam
@@ -115,12 +115,12 @@ gtkadd(gtkset_border_width($w->{window}, 2),
1, create_scrolled_window($KnownList),
0, gtkpack(create_hbox(),
gtksignal_connect(Gtk2::Button->new("Remove"), clicked => sub {
- my @selected = $KnownList->get_selected_indices;
- splice @{$KnownList->{data}}, "@selected", 1;
+ my ($selected) = $KnownList->get_selected_indices;
+ splice @{$KnownList->{data}}, $selected, 1;
}),
gtksignal_connect(Gtk2::Button->new("Connect"), clicked => sub {
- my @selected = $KnownList->get_selected_indices;
- &ConnectNow(@selected);
+ my ($selected) = $KnownList->get_selected_indices;
+ &ConnectNow($selected);
}),
gtksignal_connect(Gtk2::Button->new("Save"), clicked => sub { &WriteConfig })
)