summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-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);