diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-29 10:56:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-29 10:56:59 +0000 |
commit | deb4fe8aef6861685a0999e1348da03031a98add (patch) | |
tree | 00679df55e9512b50587734d9d1dc762d8cebe8e | |
parent | 41cb72429541ff143c77b71c27d0da0169b2fba7 (diff) | |
download | drakx-deb4fe8aef6861685a0999e1348da03031a98add.tar drakx-deb4fe8aef6861685a0999e1348da03031a98add.tar.gz drakx-deb4fe8aef6861685a0999e1348da03031a98add.tar.bz2 drakx-deb4fe8aef6861685a0999e1348da03031a98add.tar.xz drakx-deb4fe8aef6861685a0999e1348da03031a98add.zip |
fix Add button behavior (Austin <aacton@yorku.ca>)
-rwxr-xr-x | perl-install/standalone/drakroam | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakroam b/perl-install/standalone/drakroam index 8b7144ebc..84dad3618 100755 --- a/perl-install/standalone/drakroam +++ b/perl-install/standalone/drakroam @@ -214,9 +214,9 @@ gtkadd(gtkset_border_width($w->{window}, 2), 1, create_scrolled_window($AvailableList), 0, gtkpack(create_hbox(), gtksignal_connect(Gtk2::Button->new("Add"), clicked => sub { - my @selected = $KnownList->get_selected_indices; + my @selected = $AvailableList->get_selected_indices; my ($mode, $channel, $key); - my $essid = $AvailableList->{data}[@selected][0]; + my $essid = $AvailableList->{data}["@selected"][0]; my $dhcp = 1; # assume dhcp for new networks &AddNet($essid, $mode, $channel, $key, $dhcp); }), |