summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-22 04:27:17 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-22 04:27:17 +0000
commit98b92acdf48f92b3fcfc38774d5e130453e7ed3a (patch)
tree78fcf39bfc5113f293a513a4d0dd9dcaab8246e4 /perl-install/standalone
parenta9c5d55379ae22f696b82d2c6f8ca7a15eb1a46c (diff)
downloaddrakx-98b92acdf48f92b3fcfc38774d5e130453e7ed3a.tar
drakx-98b92acdf48f92b3fcfc38774d5e130453e7ed3a.tar.gz
drakx-98b92acdf48f92b3fcfc38774d5e130453e7ed3a.tar.bz2
drakx-98b92acdf48f92b3fcfc38774d5e130453e7ed3a.tar.xz
drakx-98b92acdf48f92b3fcfc38774d5e130453e7ed3a.zip
really use ap address for hidden ssid
Diffstat (limited to 'perl-install/standalone')
-rw-r--r--perl-install/standalone/net_applet6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 1166d21d2..6e404188b 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -167,8 +167,8 @@ sub generate_wireless_menuitem {
undef $current_state; #- force menu redraw
}
sub update_wireless_item {
- my ($net) = @_;
- $net->{ssid_label}->set_text($net->{ssid} || "[$_]");
+ my ($net, $ap_address) = @_;
+ $net->{ssid_label}->set_text($net->{ssid} || "[$ap_address]");
$net->{keyring_image}->visible(defined $net->{flags});
my $approx_level = 20 + int(min($net->{signal_level}, 80)/20)*20;
$net->{level_image}->set_from_pixbuf($pixbufs{link_level}{$approx_level});
@@ -183,7 +183,7 @@ sub checkWireless() {
my $net = $wireless_networks{$_} ||= {};
put_in_hash($net, $networks->{$_});
exists $net->{menuitem} or generate_wireless_menuitem($net);
- update_wireless_item($net);
+ update_wireless_item($net, $_);
}
$wireless_networks{$_}{menuitem}->visible(exists $networks->{$_}) foreach keys %wireless_networks;
}