diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-08 22:51:29 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-08 22:51:29 +0100 |
commit | 35ea822d6baf79ad1eff8f4b28d8618de2dba5d1 (patch) | |
tree | 67773da6900f222a2949c4e5960048e286a18bab | |
parent | c7ce3a6667f1f4ed100259a49ad3f980c7dd73f1 (diff) | |
download | drakx-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
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | bin/net_applet | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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); } } } |