summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-19 16:13:12 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-19 16:13:12 +0000
commit55eed0d4cb62815009fd9641ea984fd5ae6783b7 (patch)
tree68463500e09a17c51d577aa5bc0057c382bbc921 /perl-install
parent77f495d149f12d1b45b82c5750bd2f727e097747 (diff)
downloaddrakx-55eed0d4cb62815009fd9641ea984fd5ae6783b7.tar
drakx-55eed0d4cb62815009fd9641ea984fd5ae6783b7.tar.gz
drakx-55eed0d4cb62815009fd9641ea984fd5ae6783b7.tar.bz2
drakx-55eed0d4cb62815009fd9641ea984fd5ae6783b7.tar.xz
drakx-55eed0d4cb62815009fd9641ea984fd5ae6783b7.zip
(Gtk2::Banner->new) still less hardcoded magic values
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 78189f169..77bc196af 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -1462,7 +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;
- my $x_text = $is_rtl ? $x_icon - $padding - 32 - $darea->{txt_width} : $width + $padding +32;
+ 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'),
0, 0, $x_blue, 0, -1, -1, 'none', 0, 0);