From 45515c157ddee60a2a3f5f899311daadb79c8f8b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 27 Jan 2003 07:31:17 +0000 Subject: 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) --- perl-install/ugtk2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/ugtk2.pm') 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; -- cgit v1.2.1