From 56e0a1b72b87705e714560ed8c76121e223d7c46 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 19 Sep 2008 15:12:51 +0000 Subject: (Gtk2::Banner->set_pixmap) use new background for banners --- perl-install/NEWS | 2 ++ perl-install/share/banner-background.png | Bin 0 -> 235 bytes perl-install/ugtk2.pm | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 perl-install/share/banner-background.png (limited to 'perl-install') 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 new file mode 100644 index 000000000..31fb423a3 Binary files /dev/null and b/perl-install/share/banner-background.png differ 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; -- cgit v1.2.1