From 48afdf8a84344d89ad71c91a7fc66d95eb3e2927 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 20 Feb 2003 12:26:47 +0000 Subject: fix bold diplay of texts in adverts --- perl-install/install_steps_gtk.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index 201774c46..28fba7aa6 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -511,11 +511,13 @@ sub installPackages { my ($gc, $decx, $decy) = @_; $darea->window->draw_layout($gc, ($dx-$width)/2 + $x + ${$widths}[$i] + $decx, - ($first ? 0 : $decy) + $y + ${$heights}[$i] + $decy, + $y + ${$heights}[$i] + $decy, $layout); }; - $bold and $draw_lay->($darea->style->black_gc, 1, 1); + $draw_lay->($darea->style->black_gc, 1, 1); + $bold and $draw_lay->($darea->style->black_gc, 2, 1); $draw_lay->($darea->style->white_gc, 0, 0); + $bold and $draw_lay->($darea->style->white_gc, 1, 0); $layout->unref; $i++; } -- cgit v1.2.1