summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-27 07:31:17 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-27 07:31:17 +0000
commit45515c157ddee60a2a3f5f899311daadb79c8f8b (patch)
treec4db45f3587a061e716a76418cf6000e55420523 /perl-install/ugtk2.pm
parentd73f0db76b89b9fedb8747d2a622c9c401639078 (diff)
downloaddrakx-backup-do-not-use-45515c157ddee60a2a3f5f899311daadb79c8f8b.tar
drakx-backup-do-not-use-45515c157ddee60a2a3f5f899311daadb79c8f8b.tar.gz
drakx-backup-do-not-use-45515c157ddee60a2a3f5f899311daadb79c8f8b.tar.bz2
drakx-backup-do-not-use-45515c157ddee60a2a3f5f899311daadb79c8f8b.tar.xz
drakx-backup-do-not-use-45515c157ddee60a2a3f5f899311daadb79c8f8b.zip
don't sent USR2 to mcc for logdrake;
logdrake is handled differently since it's a special case. else on first execution of an embedded app, we take two USR2 (one from the embedded app and one from logdrake, which is bad)
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index bc4919123..c17b8a7db 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -800,7 +800,7 @@ sub new {
sub main {
my ($o, $completed, $canceled) = @_;
gtkset_mousecursor_normal();
- $::CCPID and kill 'USR2', $::CCPID;
+ $::CCPID and common::basename($0) !~ /logdrake/ and do { kill 'USR2', $::CCPID; print "DISPLAYING EMBEDDED APP\n" };
my $timeout = Gtk2->timeout_add(1000, sub { gtkset_mousecursor_normal(); 1 });
my $_b = MDK::Common::Func::before_leaving { Gtk2->timeout_remove($timeout) };
$o->show;