diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-19 15:29:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-19 15:29:24 +0000 |
commit | b8de28b496889aaff4fdda9476d858f1b0e15a3c (patch) | |
tree | 64bacaf9ee366559eb56b0655e154c29ba2a0064 | |
parent | 8e9406d3d4d371231fd11f1972f82bc95f52e840 (diff) | |
download | drakx-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
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
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'), |