diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-08-26 13:55:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-08-26 13:55:43 +0000 |
commit | 3818550c3de53717cdefa154328cb68d876e594b (patch) | |
tree | 333b0e1dca2a8d877803d64916131ca594e27eca | |
parent | 27b1c383ec94b301ff93795c24a723f19b6f4088 (diff) | |
download | drakx-3818550c3de53717cdefa154328cb68d876e594b.tar drakx-3818550c3de53717cdefa154328cb68d876e594b.tar.gz drakx-3818550c3de53717cdefa154328cb68d876e594b.tar.bz2 drakx-3818550c3de53717cdefa154328cb68d876e594b.tar.xz drakx-3818550c3de53717cdefa154328cb68d876e594b.zip |
(Gtk2::Banner->new) use proper GC (text_gc is for rendering on editable widgets
whereas fg_gc is for rendering on non editable widgets)
-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 55877cb15..34eb3eae8 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -1561,7 +1561,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->text_gc('normal'), $x_text, $o_options->{txt_ypos} || 25, + $darea->window->draw_layout($style->fg_gc('normal'), $x_text, $o_options->{txt_ypos} || 25, $darea->{layout}); 1; }); |