summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_applet
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-05-25 04:25:29 +0000
committerOlivier Blin <oblin@mandriva.org>2005-05-25 04:25:29 +0000
commit0023860280ead10e38c14acfc34fe65b0529533c (patch)
tree90f3ce10ae5a52997bcc5b5c4175873ca4b2a407 /perl-install/standalone/net_applet
parent1a27be6164a1c0fa6c891c33ff6c95a06dfdb67e (diff)
downloaddrakx-0023860280ead10e38c14acfc34fe65b0529533c.tar
drakx-0023860280ead10e38c14acfc34fe65b0529533c.tar.gz
drakx-0023860280ead10e38c14acfc34fe65b0529533c.tar.bz2
drakx-0023860280ead10e38c14acfc34fe65b0529533c.tar.xz
drakx-0023860280ead10e38c14acfc34fe65b0529533c.zip
let user call drakroam (#16019)
Diffstat (limited to 'perl-install/standalone/net_applet')
-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 e3bab7c67..8f81d72b5 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -41,7 +41,7 @@ my %appletstate = (
connected => {
colour => [ 'connected' ],
changes => [ 'disconnected', 'error', 'busy' ],
- menu => [ 'downNetwork', 'chooseInterface', 'chooseProfile', 'confNetwork', 'monitorNetwork', 'refresh', 'help' ],
+ menu => [ 'downNetwork', 'chooseInterface', 'chooseProfile', 'confNetwork', 'wireless', 'monitorNetwork', 'refresh', 'help' ],
tt => [ N_("Network is up on interface %s") ]
},
disconnected => {
@@ -68,6 +68,7 @@ my %actions = (
'upNetwork' => { name => sub { N("Connect %s", $_[0]) }, launch => \&network::tools::start_interface },
'downNetwork' => { name => sub { N("Disconnect %s", $_[0]) }, launch => \&network::tools::stop_interface },
'monitorNetwork' => { name => N("Monitor Network"), launch => sub { system("/usr/sbin/net_monitor --defaultintf $_[0] &") } },
+ 'wireless' => { name => N("Manage wireless networks"), launch => sub { system("/usr/sbin/drakroam &") } },
'confNetwork' => { name => N("Configure Network"), launch => sub { system("/usr/sbin/drakconnect --skip-wizard &") } },
'chooseInterface' => {
name => N("Watched interface"),