From d685a6a5a51d0ed5f39cdf666c396d7406699b77 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 12 Jul 2004 07:37:19 +0000 Subject: add a "monitor network" menu item that launches net_monitor --- perl-install/standalone/net_applet | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install') 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 &") } } ); -- cgit v1.2.1