diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-19 15:12:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-19 15:12:51 +0000 |
commit | 56e0a1b72b87705e714560ed8c76121e223d7c46 (patch) | |
tree | 8106bee146bcca4e39ec5ea225437ea1e1bcae01 /perl-install/ugtk2.pm | |
parent | aefd11a09ff6bb1401fdaa3759a768fe0b10588a (diff) | |
download | drakx-56e0a1b72b87705e714560ed8c76121e223d7c46.tar drakx-56e0a1b72b87705e714560ed8c76121e223d7c46.tar.gz drakx-56e0a1b72b87705e714560ed8c76121e223d7c46.tar.bz2 drakx-56e0a1b72b87705e714560ed8c76121e223d7c46.tar.xz drakx-56e0a1b72b87705e714560ed8c76121e223d7c46.zip |
(Gtk2::Banner->set_pixmap) use new background for banners
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 9b78960c5..e231c78f2 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -1427,7 +1427,7 @@ use ugtk2 qw(:helpers :wrappers); sub set_pixmap { my ($darea) = @_; return if !$darea->realized; - ugtk2::set_back_pixmap($darea); + ugtk2::set_back_pixbuf($darea, gtknew('Pixbuf', file => 'banner-background')); $darea->{layout} = $darea->create_pango_layout($darea->{text}); $darea->{txt_width} = ($darea->{layout}->get_pixel_size)[0]; $darea->queue_draw; |