From 36c904332258ff5c528a2921df497098f098e948 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 31 Aug 2005 20:31:42 +0000 Subject: don't display keyring icon if the wireless network doesn't need a key (thanks to Couriousous) --- perl-install/standalone/net_applet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/net_applet') diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet index 7e29e14a1..fc955dc5f 100644 --- a/perl-install/standalone/net_applet +++ b/perl-install/standalone/net_applet @@ -189,7 +189,7 @@ sub generate_wireless_menuitem { sub update_wireless_item { my ($net, $ap_address) = @_; $net->{ssid_label}->set_text($net->{ssid} || "[$ap_address]"); - $net->{keyring_image}->visible(defined $net->{flags}); + $net->{keyring_image}->visible($net->{flags}); $net->{level_image}->set_from_pixbuf($pixbufs{link_level}{$net->{approx_level}}); $net->{menuitem}->signal_handler_block($net->{activate}); -- cgit v1.2.1