summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/share/banner-background.pngbin0 -> 235 bytes
-rw-r--r--perl-install/ugtk2.pm2
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
new file mode 100644
index 000000000..31fb423a3
--- /dev/null
+++ b/perl-install/share/banner-background.png
Binary files 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;