diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-09-19 22:39:02 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-09-19 22:39:02 +0000 |
commit | 54d7e03d49219cbfcbc97112145cbe1d55c2dbe6 (patch) | |
tree | 3df7c4a81ba5f2b3b37e4d2a0cca9de33b7eaff5 /perl-install/standalone/net_applet | |
parent | fd70c9a74225390c4e841ee777bdfc3eaef3f5d9 (diff) | |
download | drakx-54d7e03d49219cbfcbc97112145cbe1d55c2dbe6.tar drakx-54d7e03d49219cbfcbc97112145cbe1d55c2dbe6.tar.gz drakx-54d7e03d49219cbfcbc97112145cbe1d55c2dbe6.tar.bz2 drakx-54d7e03d49219cbfcbc97112145cbe1d55c2dbe6.tar.xz drakx-54d7e03d49219cbfcbc97112145cbe1d55c2dbe6.zip |
show IFW button even if not connected (#18708)
Diffstat (limited to 'perl-install/standalone/net_applet')
-rw-r--r-- | perl-install/standalone/net_applet | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet index d951ee077..82ee2a005 100644 --- a/perl-install/standalone/net_applet +++ b/perl-install/standalone/net_applet @@ -314,10 +314,11 @@ sub generate_menu { if ($current_state eq 'connected') { $menu->append($create_item->($_)) foreach qw(downNetwork monitorNetwork); - $menu->append($create_item->('monitorIFW')) if defined $interactive; } elsif ($current_state eq 'disconnected') { $menu->append($create_item->('upNetwork')); } + $menu->append($create_item->('monitorIFW')) if $current_state ne 'notconfigured' && defined $interactive; + $menu->append($create_item->('confNetwork')); if ($current_state ne 'notconfigured') { |