summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-22 04:09:01 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-22 04:09:01 +0000
commitc53ad98c834d6695504772425e4bc04e6c88f779 (patch)
tree50574b4f73d217ff2af967365642a8d808f963d3 /perl-install
parentb995b8f14a34fb89cddbc3fc35e7b72112ee9f73 (diff)
downloaddrakx-backup-do-not-use-c53ad98c834d6695504772425e4bc04e6c88f779.tar
drakx-backup-do-not-use-c53ad98c834d6695504772425e4bc04e6c88f779.tar.gz
drakx-backup-do-not-use-c53ad98c834d6695504772425e4bc04e6c88f779.tar.bz2
drakx-backup-do-not-use-c53ad98c834d6695504772425e4bc04e6c88f779.tar.xz
drakx-backup-do-not-use-c53ad98c834d6695504772425e4bc04e6c88f779.zip
use has_wireless
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/standalone/net_applet3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 53bdd8b74..35ff6df67 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -12,6 +12,7 @@ use mygtk2 qw(gtknew);
use dbus_object;
use network::activefw;
use network::monitor;
+use detect_devices;
use Gtk2::TrayIcon;
@@ -247,7 +248,7 @@ sub generate_menu {
};
my (@settings, @actions);
- my $has_wireless = keys %wireless_networks;
+ my $has_wireless = detect_devices::has_wireless();
if ($state_type eq 'connected') {
push @actions, $create_item->($_) foreach qw(downNetwork monitorNetwork);