summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-27 10:42:02 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-27 10:42:02 +0000
commita3fbb738052c53a690876e8b1bcf07ae347dde50 (patch)
treeda8a748e0211e6a5d6529d3417722038029afe49
parentbbec941fb6da3bd75df224b58a89143ac1459604 (diff)
downloadcontrol-center-a3fbb738052c53a690876e8b1bcf07ae347dde50.tar
control-center-a3fbb738052c53a690876e8b1bcf07ae347dde50.tar.gz
control-center-a3fbb738052c53a690876e8b1bcf07ae347dde50.tar.bz2
control-center-a3fbb738052c53a690876e8b1bcf07ae347dde50.tar.xz
control-center-a3fbb738052c53a690876e8b1bcf07ae347dde50.zip
let one be able to cancel the console
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index 49847e7f..32ddbd6e 100755
--- a/control-center
+++ b/control-center
@@ -656,6 +656,7 @@ sub compute_exec_string {
create_hidden_socket_if_needed();
$emb_box->show;
$emb_socket->realize;
+ $pending_app = 1;
if ($gtkplug > 0) {
$exec .= " --embedded " . $emb_socket->window->XWINDOW . " " . $$;
$emb_wait->show;
@@ -665,7 +666,6 @@ sub compute_exec_string {
$run_counter_add = -10;
$timeout = Gtk2->timeout_add(70, sub { $run_darea->queue_draw; 1 });
$left_locked = 1;
- $pending_app = 1;
fork_($exec);
} else { # gtkplug == 0
$emb_socket->show;