summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-31 20:31:42 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-31 20:31:42 +0000
commit36c904332258ff5c528a2921df497098f098e948 (patch)
treebfc6e1b30dd5b5020cbd6ea6f8e37761be69d450
parent7f05fb925c38d9a89dbc6a03848f70654e95015a (diff)
downloaddrakx-36c904332258ff5c528a2921df497098f098e948.tar
drakx-36c904332258ff5c528a2921df497098f098e948.tar.gz
drakx-36c904332258ff5c528a2921df497098f098e948.tar.bz2
drakx-36c904332258ff5c528a2921df497098f098e948.tar.xz
drakx-36c904332258ff5c528a2921df497098f098e948.zip
don't display keyring icon if the wireless network doesn't need a key (thanks to Couriousous)
-rw-r--r--perl-install/standalone/net_applet2
1 files changed, 1 insertions, 1 deletions
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});