From: Andrew Ruthven Date: Mon, 22 Sep 2008 03:38:33 +0000 (+1200) Subject: Swap post for yield. X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4b72d7b6a86f15eb1f6b5051964eff2f7d1acaf;p=picture-display.git Swap post for yield. --- diff --git a/lib/Display/Plugins/FSpot.pm b/lib/Display/Plugins/FSpot.pm index f77b0e0..2c7b96d 100644 --- a/lib/Display/Plugins/FSpot.pm +++ b/lib/Display/Plugins/FSpot.pm @@ -27,7 +27,7 @@ sub display_photo { # Keep on looking until we find a file that exists. if (! -f $file || $file eq $self->{'last_file'}) { - $kernel->post('fspot_display'); + $kernel->yield('fspot_display'); return; }