diff options
author | Daouda Lo <daouda@mandriva.com> | 2002-08-09 18:10:52 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2002-08-09 18:10:52 +0000 |
commit | 121b20c4ea1b095983b5c42b10ca5dc12750db9a (patch) | |
tree | 29dcddb749510bc617a02add130a6e160ab754b0 | |
parent | a75ce143801e8d813f85ee8f77571307920339a2 (diff) | |
download | control-center-121b20c4ea1b095983b5c42b10ca5dc12750db9a.tar control-center-121b20c4ea1b095983b5c42b10ca5dc12750db9a.tar.gz control-center-121b20c4ea1b095983b5c42b10ca5dc12750db9a.tar.bz2 control-center-121b20c4ea1b095983b5c42b10ca5dc12750db9a.tar.xz control-center-121b20c4ea1b095983b5c42b10ca5dc12750db9a.zip |
- remain a bug while destroying log frame
-rwxr-xr-x | control-center | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/control-center b/control-center index 299a5c26..12a7e470 100755 --- a/control-center +++ b/control-center @@ -559,7 +559,6 @@ sub compute_exec_string { $emb_box->show; $emb_socket->realize; $exec = $exec . " --embedded " . $emb_socket->window->XWINDOW . " " . $$; - $exp_socket and $exec_log = "logdrake --explain=$log_exp --embedded " . $exp_socket->window->XWINDOW . " " . $$; } if ($gtkplug > 0) { $emb_wait->show; @@ -591,6 +590,8 @@ sub compute_exec_string { } if ($logs) { my $pid; + $exp_socket->realize; + $exec_log = "logdrake --explain=$log_exp --embedded " . $exp_socket->window->XWINDOW . " " . $$; unless ($pid = fork) { splash_warning(_("cannot fork: %s", $~)) unless defined $pid; print "explain : $log_exp \n "; @@ -630,7 +631,7 @@ sub launch_xapp { sub clean_socket { $emb_box->hide; - !$logs and $exp_frame->hide; + $logs and $exp_frame->hide; foreach (@pid_launched) { kill 'TERM', $_ if (defined $_); } |