summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-03-05 16:32:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-03-05 16:32:38 +0000
commiteff4d1b6c9c65eae25f5fd01f3eaebe0828fc66a (patch)
treed75351aa090c6746440309b71b7c0af47840d07b
parent9b6fcb7635b9eb3e68ec0d2826f15553297827d4 (diff)
downloadcontrol-center-eff4d1b6c9c65eae25f5fd01f3eaebe0828fc66a.tar
control-center-eff4d1b6c9c65eae25f5fd01f3eaebe0828fc66a.tar.gz
control-center-eff4d1b6c9c65eae25f5fd01f3eaebe0828fc66a.tar.bz2
control-center-eff4d1b6c9c65eae25f5fd01f3eaebe0828fc66a.tar.xz
control-center-eff4d1b6c9c65eae25f5fd01f3eaebe0828fc66a.zip
fix userdrake embedding (look at comment) by disabling it for now
-rwxr-xr-xcontrol-center8
1 files changed, 7 insertions, 1 deletions
diff --git a/control-center b/control-center
index 02c0f681..cd2574df 100755
--- a/control-center
+++ b/control-center
@@ -96,6 +96,7 @@ $::isRpmDrake = -e "/usr/sbin/rpmdrake";
# { key => [ log_exp, binary, gtkplug?, description ] }
# { key => [ log_exp, [ binary, win_nb ], gtkplug?, description ] }
+# gtkplug meaning: -1 => not embedded, 0 => external x11 app, 1 => proper embedding
my $exec_hash =
{
"Auto Install" => [ "drakautoinst", "$sbindir/drakautoinst", 1, N("DrakAutoInst helps you produce an Auto Install floppy") ],
@@ -135,7 +136,12 @@ my $exec_hash =
"Services" => [ "drakxservices", "$sbindir/drakxservices", 1, N("DrakXServices helps you enable or disable services") ],
"Software Sources Manager" => [ "rpmdrake", "$sbindir/edit-urpm-sources.pl", -1, N("Software Sources Manager helps you define where software packages are downloaded from") ],
"TV Cards" => [ "drakxtv", "$sbindir/drakxtv", 1, N("DrakxTV helps you set up your TV card") ],
- "Users" => [ "userdrake", "$bindir/userdrake", 1, N("UserDrake helps you add, remove or change users of your system") ],
+ # userdrake intercept and ignore SIG_TERM, thus do not properly detach from mcc
+ # proper fix #1: userdrake do not ignore SIG_TERM when argv contains --embedded
+ # proper fix #2: wait for plug destruction that results from app
+ # killing or explicitely destroy it if needed
+ # instead of relying on app exit
+ "Users" => [ "userdrake", "$bindir/userdrake", 0, N("UserDrake helps you add, remove or change users of your system") ],
"WebDAV mount points" => [ "diskdrake", "$sbindir/diskdrake --dav", 1, N("Set WebDAV mount points") ],
};