summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-12-08 15:18:24 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-12-08 15:18:24 +0000
commitca559c49c3813c198592ae0422e395e3f902079b (patch)
treef0e2620571f0d347e1820f7e8994a49ce1648a36
parentd8873f7452c8b6b05e1632ebac21b6e870cf2949 (diff)
downloadcontrol-center-ca559c49c3813c198592ae0422e395e3f902079b.tar
control-center-ca559c49c3813c198592ae0422e395e3f902079b.tar.gz
control-center-ca559c49c3813c198592ae0422e395e3f902079b.tar.bz2
control-center-ca559c49c3813c198592ae0422e395e3f902079b.tar.xz
control-center-ca559c49c3813c198592ae0422e395e3f902079b.zip
- drakconnect has been split in multiple pieces; let's be aware of that fact
- this enable to not hide anymore logs while embedding drakconnect (no more needed)
-rwxr-xr-xcontrol-center14
1 files changed, 11 insertions, 3 deletions
diff --git a/control-center b/control-center
index 59ef7b45..8d4f9bf2 100755
--- a/control-center
+++ b/control-center
@@ -103,7 +103,10 @@ my $exec_hash =
"Boot Config" => [ "drakboot", "$sbindir/drakboot", 1, N("DrakBoot helps you set up how your system boots") ],
"Boot Disk" => [ "drakfloppy", "$sbindir/drakfloppy", 1, N("DrakFloppy helps you produce your own boot floppy") ],
"Connection Sharing" => [ "drakgw", "$sbindir/drakgw", 1, N("DrakGw helps you share your Internet connection") ],
- "Connection" => [ "drakconnect", "$sbindir/drakconnect", 1, N("DrakConnect helps you set up your network and Internet connection") ],
+ "Add Connection" => [ "drakconnect", "$sbindir/drakconnect --wizard", 1, N("Set up a new connection") ],
+ "Manage Connection" => [ "drakconnect", "$sbindir/drakconnect --skip-wizard", 1, N("Manage existing connections") ],
+ "Monitor Connection" => [ "net_monitor", "$sbindir/net_monitor", 1, N("Monitor connections") ],
+ "Configure Internet" => [ "drakconnect", "$sbindir/drakconnect --internet", 1, N("Set up internet access") ],
# little workaround to avoid drakconf freeze
"Console" => [ "rxvt", "$xbindir/rxvt", -1, N("Open a console") ], #The Console will help you to solve issues
# "Console" => [ "rxvt", [ "$xbindir/rxvt", "rxvt", 1 ], 0, N("Open a console") ], #The Console will help you to solve issues
@@ -126,6 +129,7 @@ my $exec_hash =
"Printer" => [ "printerdrake", "$sbindir/printerdrake", -1, N("PrinterDrake helps you set up your printer, job queues ...."), "$sbindir/printerdrake" ],
"Programs scheduling" => [ "drakcronat", "/usr/X11R6/bin/drakcronat", 1, N("DrakCronAt helps you run programs or scripts at certain times") ], #DrakCronAt enables to schedule Programs execution through crond and atd daemons
"Proxy Configuration" => [ "drakproxy", "$sbindir/drakproxy", 1, N("DrakProxy helps you set up proxy servers") ], #for files and web browsing
+ "Remove Interface" => [ "drakconnect", "$sbindir/drakconnect --del", 1, N("Remove a connection") ],
"Remove Software" => [ "rpmdrake", "$sbindir/rpmdrake-remove", -1, N("RpmDrake helps you remove software packages") ],
"Resolution" => [ "XFdrake", "$sbindir/XFdrake resolution", 1, N("Change your screen resolution") ],
"Samba mount points" => [ "diskdrake", "$sbindir/diskdrake --smb", 1, N("Set Samba mount points") ],
@@ -191,7 +195,11 @@ my @tree =
],
[ N("Network & Internet"), 'net-mdk',
[
- [ "Connection", 'drakconnect-mdk', ],
+ [ "Add Connection", 'drakconnect-mdk', ],
+ [ "Configure Internet", 'drakconnect-mdk', ],
+ [ "Manage Connection", 'drakconnect-mdk', ],
+ [ "Monitor Connection", 'drakconnect-mdk', ],
+ [ "Remove Interface", 'drakconnect-mdk', ],
[ "Proxy Configuration", 'drakproxy-mdk', ],
[ "Connection Sharing", 'drakgw-mdk', ],
],
@@ -784,7 +792,7 @@ sub compute_exec_string {
my $exec_log = "logdrake --explain=$log_exp --embedded " . $exp_socket->window->XWINDOW;
$pid_exp = fork_($exec_log, []);
}
- $w_exp->hide if $embedded && $exec =~ /^drakfont|drakconnect|logdrake/;
+ $w_exp->hide if $embedded && $exec =~ /^drakfont|logdrake/;
}
sub launch_xapp {