diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-07-12 07:37:19 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-07-12 07:37:19 +0000 |
commit | d685a6a5a51d0ed5f39cdf666c396d7406699b77 (patch) | |
tree | 9088cda80473b4da88070920125adaafa9969b7f /perl-install/standalone | |
parent | 9ef91489baf3967719ca680577c5e9ef7565313d (diff) | |
download | drakx-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_applet | 3 |
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 &") } } ); |