summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-07-12 07:37:19 +0000
committerOlivier Blin <oblin@mandriva.org>2004-07-12 07:37:19 +0000
commitd685a6a5a51d0ed5f39cdf666c396d7406699b77 (patch)
tree9088cda80473b4da88070920125adaafa9969b7f /perl-install/standalone
parent9ef91489baf3967719ca680577c5e9ef7565313d (diff)
downloaddrakx-d685a6a5a51d0ed5f39cdf666c396d7406699b77.tar
drakx-d685a6a5a51d0ed5f39cdf666c396d7406699b77.tar.gz
drakx-d685a6a5a51d0ed5f39cdf666c396d7406699b77.tar.bz2
drakx-d685a6a5a51d0ed5f39cdf666c396d7406699b77.tar.xz
drakx-d685a6a5a51d0ed5f39cdf666c396d7406699b77.zip
add a "monitor network" menu item that launches net_monitor
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 4ba4ebdb6..bab516fa0 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -32,7 +32,7 @@ my %appletstate = (
connected => {
colour => [ 'connected' ],
changes => [ 'disconnected', 'error', 'busy' ],
- menu => [ 'confNetwork', 'refresh', 'help' ],
+ menu => [ 'confNetwork', 'monitorNetwork', 'refresh', 'help' ],
tt => [ N("Network is up on interface ") ]
},
disconnected => {
@@ -45,6 +45,7 @@ my %appletstate = (
my %actions = (
'confNetwork' => { name => N("Configure Network"), launch => sub { system("/usr/sbin/drakconnect --skip-wizard &") } },
+ 'monitorNetwork' => { name => N("Monitor Network"), launch => sub { system("/usr/sbin/net_monitor &") } },
'refresh' => { name => N("Refresh"), launch => sub { checkNetwork() } },
'help' => { name => N("Get Online Help"), launch => sub { system("drakhelp --id internet-connection &") } }
);