summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-19 16:15:17 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-19 16:15:17 +0000
commitc1f6c406d88520afb33b064f25e7a3d34088317c (patch)
treede4ed5c8fe3d98c93db0e80fa5c7cb200b89389b /perl-install/ugtk2.pm
parent55eed0d4cb62815009fd9641ea984fd5ae6783b7 (diff)
downloaddrakx-c1f6c406d88520afb33b064f25e7a3d34088317c.tar
drakx-c1f6c406d88520afb33b064f25e7a3d34088317c.tar.gz
drakx-c1f6c406d88520afb33b064f25e7a3d34088317c.tar.bz2
drakx-c1f6c406d88520afb33b064f25e7a3d34088317c.tar.xz
drakx-c1f6c406d88520afb33b064f25e7a3d34088317c.zip
(Gtk2::Banner->new) explain
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 77bc196af..16a535574 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -1462,6 +1462,7 @@ sub new {
my $d_width = $darea->allocation->width;
my $x_blue = $is_rtl ? $d_width - $blue_width : 0;
my $x_icon = $is_rtl ? $d_width - $padding - $width : $padding;
+ # here: 48 is the amount of white background in the blue background we wish to ignore:
my $x_text = $is_rtl ? $d_width - $blue_width + 48 - $darea->{txt_width} : $blue_width - 48;
$darea->{layout_height} ||= (($darea->{layout}->get_size)[1])/Gtk2::Pango->PANGO_SCALE;
$blue_part->render_to_drawable($darea->window, $style->bg_gc('normal'),