~ubuntu-branches/ubuntu/karmic/gmusicbrowser/karmic

« back to all changes in this revision

Viewing changes to gmusicbrowser_player.pm

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Soyez
  • Date: 2008-11-09 22:17:04 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20081109221704-gcbxbmfc29mwfxxv
Tags: 1.0-0ubuntu1
New upstream version. (LP: #273697)

Show diffs side-by-side

added added

removed removed

Lines of Context:
648
648
        for (qw/SkinPath SkinFile DefaultFont Window/)
649
649
        {       $self->{layout_options}{$_}=$boxes->{$_} if exists $boxes->{$_};
650
650
        }
651
 
        my $border_width=5; #default border width
 
651
        my $border_width=2; #default border width
652
652
        if (my $wopt=$self->{layout_options}{Window})
653
653
        {       $border_width=$1 if $wopt=~m/\bborderwidth=(\d+)\b/;
654
654
                $self->set_skip_pager_hint(1) && $self->set_skip_taskbar_hint(1) if $wopt=~m/\bskip=1\b/;
770
770
        }
771
771
}
772
772
 
773
 
sub resize_skin_cb
 
773
sub resize_skin_cb      #FIXME needs to add a delay to better deal with a burst of resize events
774
774
{       my ($self,$event)=@_;
775
775
        my ($w,$h)=($event->width,$event->height);
776
776
        return 0 if $w.'x'.$h eq $self->{skinsize};