summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-19 15:29:24 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-19 15:29:24 +0000
commitb8de28b496889aaff4fdda9476d858f1b0e15a3c (patch)
tree64bacaf9ee366559eb56b0655e154c29ba2a0064 /perl-install/ugtk2.pm
parent8e9406d3d4d371231fd11f1972f82bc95f52e840 (diff)
downloaddrakx-b8de28b496889aaff4fdda9476d858f1b0e15a3c.tar
drakx-b8de28b496889aaff4fdda9476d858f1b0e15a3c.tar.gz
drakx-b8de28b496889aaff4fdda9476d858f1b0e15a3c.tar.bz2
drakx-b8de28b496889aaff4fdda9476d858f1b0e15a3c.tar.xz
drakx-b8de28b496889aaff4fdda9476d858f1b0e15a3c.zip
(Gtk2::Banner->new) adjust position of blackground's blue part with RTL languages
Diffstat (limited to 'perl-install/ugtk2.pm')
-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 a8ea0dcc6..15b770c16 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -1457,7 +1457,7 @@ sub new {
(undef, undef, undef, $d_height) = $darea->window->get_geometry;
my $padding = int(($d_height - $height)/2);
my $d_width = $darea->allocation->width;
- my $x_blue = $is_rtl ? $d_width - $width : 0;
+ my $x_blue = $is_rtl ? $d_width - $blue_part->get_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;
$blue_part->render_to_drawable($darea->window, $style->bg_gc('normal'),