Skip to content
Permalink
Browse files
fix default option of Cover and ArtistPic not working with relative path
  • Loading branch information
squentin committed May 5, 2010
1 parent b55d8b7 commit c590aa3f1a0a70d073c05e82b6e456d88a4a88e2
Showing with 2 additions and 2 deletions.
  1. +2 −2 gmusicbrowser_layout.pm
@@ -3110,7 +3110,7 @@ sub new
$self->set_visible_window(0);
$self->{aa}=$opt->{aa};
my $minsize=$opt->{minsize};
$self->{$_}=$opt->{$_} for qw/maxsize xalign yalign multiple default/;
$self->{$_}=$opt->{$_} for qw/maxsize xalign yalign multiple/;
$self->{usable_w}=$self->{usable_h}=1;
my $ratio=1;
@@ -3144,7 +3144,7 @@ sub new
{ $self->{expand_to_ratio}=$ratio;
$self->{expand_weight}=10;
}
if (my $file=$opt->{'defaultfile'})
if (my $file=$opt->{'default'})
{ $self->{'default'}= ::SearchPicture( $file, $opt->{PATH} );
}
$self->signal_connect(size_allocate => \&size_allocate_cb);

0 comments on commit c590aa3

Please sign in to comment.