Swap post for yield.
authorAndrew Ruthven <puck@catalyst.net.nz>
Mon, 22 Sep 2008 03:38:33 +0000 (15:38 +1200)
committerAndrew Ruthven <puck@dirk.wgtn.cat-it.co.nz>
Mon, 22 Sep 2008 03:38:33 +0000 (15:38 +1200)
lib/Display/Plugins/FSpot.pm

index f77b0e0..2c7b96d 100644 (file)
@@ -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;
   }