summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/standalone/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index cd52b8f81..925832c55 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -163,7 +163,7 @@ sub checkWireless() {
undef $current_state; #- force menu redraw
}
put_in_hash($net, $networks->{$_});
- my $approx_level = 20+int($net->{level}/20)*20;
+ my $approx_level = 20+int($net->{signal_level}/20)*20;
$net->{ssid_label}->set_text($net->{ssid} || "[$_]");
$net->{keyring_image}->visible(defined $net->{flags});
$net->{level_image}->set_from_pixbuf($pixbufs{link_level}{$approx_level});