summaryrefslogtreecommitdiffstats
path: root/bin/net_applet
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-12-08 22:51:29 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-08 22:51:29 +0100
commit35ea822d6baf79ad1eff8f4b28d8618de2dba5d1 (patch)
tree67773da6900f222a2949c4e5960048e286a18bab /bin/net_applet
parentc7ce3a6667f1f4ed100259a49ad3f980c7dd73f1 (diff)
downloaddrakx-net-35ea822d6baf79ad1eff8f4b28d8618de2dba5d1.tar
drakx-net-35ea822d6baf79ad1eff8f4b28d8618de2dba5d1.tar.gz
drakx-net-35ea822d6baf79ad1eff8f4b28d8618de2dba5d1.tar.bz2
drakx-net-35ea822d6baf79ad1eff8f4b28d8618de2dba5d1.tar.xz
drakx-net-35ea822d6baf79ad1eff8f4b28d8618de2dba5d1.zip
fix a warning in net_applet (spoted by Colin Guthrie)
conversion of perlish visible() to get_visible() should have been to set_visible() in commit 3bef8ad88261e34551963b4a09c4877b4baea8ee
Diffstat (limited to 'bin/net_applet')
-rwxr-xr-xbin/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/net_applet b/bin/net_applet
index a72f128..fa1aa3a 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -385,7 +385,7 @@ sub checkWireless() {
my $is_valuable = exists $networks->{$wnet->{ap}};
foreach (@{$wnet->{menuitems}}) {
update_wireless_item($_, $wnet) if $is_valuable;
- $_->{widget}->get_visible($is_valuable);
+ $_->{widget}->set_visible($is_valuable);
}
}
}