summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-19 15:12:51 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-19 15:12:51 +0000
commit56e0a1b72b87705e714560ed8c76121e223d7c46 (patch)
tree8106bee146bcca4e39ec5ea225437ea1e1bcae01 /perl-install
parentaefd11a09ff6bb1401fdaa3759a768fe0b10588a (diff)
downloaddrakx-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/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;