diff options
Diffstat (limited to 'perl-install/standalone')
-rw-r--r-- | perl-install/standalone/net_applet | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet index 925832c55..cfe18de13 100644 --- a/perl-install/standalone/net_applet +++ b/perl-install/standalone/net_applet @@ -231,9 +231,11 @@ sub setState { $menu->append(gtkshow(Gtk2::SeparatorMenuItem->new)); if ($state_type ne 'notconfigured') { - $add_action->('wireless'); - $menu->append($_->{menuitem}) foreach values %wireless_networks; - $menu->append(gtkshow(Gtk2::SeparatorMenuItem->new)); + if (detect_devices::has_wireless()) { + $add_action->('wireless'); + $menu->append($_->{menuitem}) foreach values %wireless_networks; + $menu->append(gtkshow(Gtk2::SeparatorMenuItem->new)); + } $add_action->('chooseInterface') ; } |