diff options
author | Yves Duret <yduret@mandriva.com> | 2001-06-26 07:29:46 +0000 |
---|---|---|
committer | Yves Duret <yduret@mandriva.com> | 2001-06-26 07:29:46 +0000 |
commit | 80d3e59bffc60fffe92c033068054bf841f6a34b (patch) | |
tree | 6ce87358dce91a92206446b0a3b4ee4d2913dcda | |
parent | 003433feb7456c97992fdd8b6b9e6aa8719654f3 (diff) | |
download | control-center-80d3e59bffc60fffe92c033068054bf841f6a34b.tar control-center-80d3e59bffc60fffe92c033068054bf841f6a34b.tar.gz control-center-80d3e59bffc60fffe92c033068054bf841f6a34b.tar.bz2 control-center-80d3e59bffc60fffe92c033068054bf841f6a34b.tar.xz control-center-80d3e59bffc60fffe92c033068054bf841f6a34b.zip |
feature
-rwxr-xr-x | control-center | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/control-center b/control-center index 430840bb..2c2976d7 100755 --- a/control-center +++ b/control-center @@ -382,7 +382,14 @@ sub exec_treeitem { $tree_launched{$label}->[0]=$nb_pages; $notebook_global->set_page($nb_pages); $socket->realize; - $socket->steal(launch_wait("konqueror", "konqueror",3)); + #$socket->steal(launch_wait("LC_ALL=C perl /home/yves/c/soft/control-center/control-center", "control-center",2,5)); + #$socket->steal(launch_wait("kmail", "kmail",2,5)); + $socket->steal(launch_wait("rxvt", "rxvt",1,10)); + #$socket->steal(launch_wait("mozilla", "mozilla",6,10)); + #$socket->steal(launch_wait("kups", "kups",2)); + #$socket->steal(launch_wait("LC_ALL=C konqueror", "konqueror",3)); + #$socket->steal(launch_wait("linuxconf", "linuxconf",3,5)); + #$socket->steal(launch_wait("LC_ALL=C nautilus --no-desktop", "nautilus",8)); $notebook_global->show_all(); $notebook_global->set_page($nb_pages); return; @@ -455,6 +462,7 @@ sub exec_treeitem { } sub launch_wait { + my ($exec, $grep, $num,$zz) = @_; my ($exec, $grep, $num) = @_; print "{{ $exec }}\n"; my $b = "xwininfo -root -tree -int | grep '" . $grep . "'"; @@ -471,6 +479,7 @@ sub launch_wait { while (@after ne ($num+@before)) { @after = split ('\n', `$b`); } + print "@after\n"; my $i = 0; my $c; foreach (@after) { @@ -482,6 +491,7 @@ sub launch_wait { $res=$1; print "[" . $res . "]\n"; } + sleep($zz); $res; } |