#warn "Loading $file\n";
$self->{'new'}->set_opacity(0);
+ $self->{'new'}->set_size(-1, -1);
$self->{'new'}->set_from_file($file);
$self->{'new'}->set_opacity(0);
+ $self->{'new'}->set_height($self->{'stage'}->get_height());
#$self->{'stage'}->add($self->{'new'});
#warn "Going to show $file\n";
for my $age ('new', 'old') {
$self->{$age} = Clutter::Texture->new();
- $self->{$age}->set_size($self->{'stage'}->get_size());
+ $self->{$age}->set('request_mode' => 'width-for-height');
$self->{$age}->set('keep-aspect-ratio' => 1);
$self->{$age}->set('sync-size' => 1);
$self->{$age}->set_opacity(0);