summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_applet
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-13 06:29:38 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-13 06:29:38 +0000
commit82e1dea4c3c704bb0692a1cc24dad40a3a25ff38 (patch)
tree5d8f9d09bd7be7959a0a54aceb852988c6f3768b /perl-install/standalone/net_applet
parent3d8f4e3fe104080be5f7c072e621ce85ac769d05 (diff)
downloaddrakx-backup-do-not-use-82e1dea4c3c704bb0692a1cc24dad40a3a25ff38.tar
drakx-backup-do-not-use-82e1dea4c3c704bb0692a1cc24dad40a3a25ff38.tar.gz
drakx-backup-do-not-use-82e1dea4c3c704bb0692a1cc24dad40a3a25ff38.tar.bz2
drakx-backup-do-not-use-82e1dea4c3c704bb0692a1cc24dad40a3a25ff38.tar.xz
drakx-backup-do-not-use-82e1dea4c3c704bb0692a1cc24dad40a3a25ff38.zip
fix typo
Diffstat (limited to 'perl-install/standalone/net_applet')
-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});