summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xbin/net_applet2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 586c21c..ac8312e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix a warning in net_applet (Colin Guthrie)
+
2.3
- avoid system() as this seems to segv perl when combined with threads (mga#11929)
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);
}
}
}