diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-01-24 10:47:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-01-24 10:47:16 +0000 |
commit | 7de0c965b4237b883a3d9b6ab92ccd121bba58c5 (patch) | |
tree | fe4877061ebb75ea0c6a7fd75cb1e0521110dd3f | |
parent | 52439a4188380b1a907b5d4fbfdcbdc83dc8d96c (diff) | |
download | control-center-7de0c965b4237b883a3d9b6ab92ccd121bba58c5.tar control-center-7de0c965b4237b883a3d9b6ab92ccd121bba58c5.tar.gz control-center-7de0c965b4237b883a3d9b6ab92ccd121bba58c5.tar.bz2 control-center-7de0c965b4237b883a3d9b6ab92ccd121bba58c5.tar.xz control-center-7de0c965b4237b883a3d9b6ab92ccd121bba58c5.zip |
(quit_global) kill embedded tool instead of exiting the whole mcc when one
click on the close icon and when a tool is embedded
-rwxr-xr-x | control-center | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/control-center b/control-center index 4df6384b..f3d3ef4c 100755 --- a/control-center +++ b/control-center @@ -1419,6 +1419,10 @@ sub kill_logdrake() { } sub quit_global() { + if (@pid_launched) { + &kill_children(); + return 1; # tell gtk+ not to quit + } &kill_children(); &kill_logdrake(); my ($x, $y) = $window_global->get_size; |