Skip to content

Commit

Permalink
fix traytip not correctly positioned
Browse files Browse the repository at this point in the history
bug introduced in d9552dd
it also sometimes caused the picture in the traytip to have a much too small width
  • Loading branch information
squentin committed Nov 19, 2010
1 parent 55f38aa commit a24f467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gmusicbrowser_layout.pm
Expand Up @@ -1620,9 +1620,9 @@ sub init
} }
else { warn "no Cairo perl module => can't make the window transparent\n" } else { warn "no Cairo perl module => can't make the window transparent\n" }
} }
$self->child->show_all; #needed to get the true size of the window
$self->realize; $self->realize;
$self->Resize if $self->{size}; $self->Resize if $self->{size};
$self->child->show_all; #needed to get the true size of the window
{ my @hidden; { my @hidden;
@hidden=keys %{ $self->{hidden} } if $self->{hidden}; @hidden=keys %{ $self->{hidden} } if $self->{hidden};
my $widgets=$self->{widgets}; my $widgets=$self->{widgets};
Expand Down

0 comments on commit a24f467

Please sign in to comment.