From c8d9bacd6db4e449371d2fa00fd5ee99f10e1da3 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Fri, 19 Sep 2008 22:07:26 +1200 Subject: [PATCH] Hopefully stop the fast flicking of photos. --- lib/Display/Plugins/FSpot.pm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/Display/Plugins/FSpot.pm b/lib/Display/Plugins/FSpot.pm index f74e419..86ebcc6 100644 --- a/lib/Display/Plugins/FSpot.pm +++ b/lib/Display/Plugins/FSpot.pm @@ -47,7 +47,7 @@ sub display_photo { # $self->{'new'} = $temp; $self->{'last_file'} = $file; - $self->{'kernel'}->delay_set(fspot_display => 30); + $self->{'kernel'}->delay(fspot_display, 30); return 1; } @@ -96,15 +96,11 @@ LIMIT 1 $self->{$age}->set('keep-aspect-ratio' => 1); $self->{$age}->set('sync-size' => 1); $self->{$age}->set_opacity(0); - } - - $self->display(); - for my $age ('new', 'old') { $self->{'stage'}->add($self->{$age}); } - $self->{'kernel'}->delay_set(fspot_display => 30); + $self->display(); } 1; -- 2.30.2