]> git.etc.gen.nz Git - picture-display.git/commitdiff
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 f77b0e0fa888844a54d6651ef7eae4ffeaa41f8a..2c7b96d2e4cf1aaf22e5a65454c998e5320c5e37 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;
   }