summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-20 12:26:47 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-20 12:26:47 +0000
commit48afdf8a84344d89ad71c91a7fc66d95eb3e2927 (patch)
treef1cb62681539ca8528a2bcbb4494241ff2e5129f
parentc9d32e321fc5ff2a4a132ee40b7d67f8c06b03cd (diff)
downloaddrakx-48afdf8a84344d89ad71c91a7fc66d95eb3e2927.tar
drakx-48afdf8a84344d89ad71c91a7fc66d95eb3e2927.tar.gz
drakx-48afdf8a84344d89ad71c91a7fc66d95eb3e2927.tar.bz2
drakx-48afdf8a84344d89ad71c91a7fc66d95eb3e2927.tar.xz
drakx-48afdf8a84344d89ad71c91a7fc66d95eb3e2927.zip
fix bold diplay of texts in adverts
-rw-r--r--perl-install/install_steps_gtk.pm6
1 files 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++;
}