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 | |
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')
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/share/banner-background.png | bin | 0 -> 235 bytes | |||
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index c4d3b9171..67637b929 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- libDrakx: + o use new background for banners - bootloader-config, drakboot: o handle /boot/grub/install.sh with no "root (hd...)" line (this is the case for grub's installed prior to 2005-06-16) diff --git a/perl-install/share/banner-background.png b/perl-install/share/banner-background.png Binary files differnew file mode 100644 index 000000000..31fb423a3 --- /dev/null +++ b/perl-install/share/banner-background.png 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; |