From: Richard Jones Date: Wed, 10 Mar 2010 14:40:41 +0000 (+0000) Subject: Add a hack to remove the about dialog. X-Git-Tag: 1.0.0~11 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=951438c967ed3e46171015dc65918ed55f9c17c6;p=techtalk-pse.git Add a hack to remove the about dialog. --- diff --git a/techtalk-pse.pl b/techtalk-pse.pl index 6bd310f..84f83e8 100755 --- a/techtalk-pse.pl +++ b/techtalk-pse.pl @@ -256,6 +256,11 @@ if ($splash) { $w->run; print STDERR "calling \$w->destroy on about dialog\n" if $verbose; $w->destroy; + + # The dialog doesn't really get destroyed here. We have + # to add this hack to really destroy it. + Glib::Idle->add (sub { Gtk2->main_quit; return FALSE; }); + Gtk2->main; } MAIN: while (1) {