diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-09-08 17:14:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-09-08 17:14:47 +0000 |
commit | bb5975425fc2f4119879f9294c7b1b305d6ae530 (patch) | |
tree | 1ad40c08aa9cf49b4012811c42f4283837a87c7a /perl-install | |
parent | 09c06faebdbeb97b03b0b571abe198d723c366b7 (diff) | |
download | drakx-bb5975425fc2f4119879f9294c7b1b305d6ae530.tar drakx-bb5975425fc2f4119879f9294c7b1b305d6ae530.tar.gz drakx-bb5975425fc2f4119879f9294c7b1b305d6ae530.tar.bz2 drakx-bb5975425fc2f4119879f9294c7b1b305d6ae530.tar.xz drakx-bb5975425fc2f4119879f9294c7b1b305d6ae530.zip |
(Gtk2::Banner->new) fix banner's text position since pixel has reduce its height
Diffstat (limited to 'perl-install')
-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 722843d7e..dc1cf0f88 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -1542,7 +1542,7 @@ sub new { my $x_text = $is_rtl ? $x_icon - $padding - $darea->{txt_width} : $height + $padding*2; $darea->{icon}->render_to_drawable($darea->window, $style->bg_gc('normal'), 0, 0, $x_icon, $padding, -1, -1, 'none', 0, 0); - $darea->window->draw_layout($style->fg_gc('normal'), $x_text, $o_options->{txt_ypos} || $::isInstall ? 17 : 25, + $darea->window->draw_layout($style->fg_gc('normal'), $x_text, $o_options->{txt_ypos} || $::isInstall ? 13 : 25, $darea->{layout}); 1; }); |