summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/net_applet b/bin/net_applet
index 115c479..794f152 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -385,7 +385,7 @@ sub update_wireless_item {
my ($menuitem, $wnet) = @_;
$menuitem->{label}->set_text($wnet->{name});
$menuitem->{security}->set_from_pixbuf($pixbufs{encryption}{$wnet->{flags} =~ /WPA/i ? 'strong' : $wnet->{flags} =~ /WEP/i ? 'weak' : 'open'});
- $menuitem->{strength}->set_from_pixbuf(network::signal_strength::get_strength_icon($wnet));
+ $menuitem->{strength}->set_from_pixbuf(scalar network::signal_strength::get_strength_icon($wnet));
$menuitem->{widget}->signal_handler_block($menuitem->{activate});
$menuitem->{widget}->set_active($wnet->{current});