summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2002-03-15 10:32:48 +0000
committerdamien <damien@mandriva.com>2002-03-15 10:32:48 +0000
commitf7a9dcafc5d826aca83374458ee0c518ec40ff98 (patch)
tree5768763f9a3703131347a6ad0d7ad20a76c8e09b
parentcd674185891ffc0d143d5dcbd525af73eb2c5ab0 (diff)
downloaddrakx-backup-do-not-use-f7a9dcafc5d826aca83374458ee0c518ec40ff98.tar
drakx-backup-do-not-use-f7a9dcafc5d826aca83374458ee0c518ec40ff98.tar.gz
drakx-backup-do-not-use-f7a9dcafc5d826aca83374458ee0c518ec40ff98.tar.bz2
drakx-backup-do-not-use-f7a9dcafc5d826aca83374458ee0c518ec40ff98.tar.xz
drakx-backup-do-not-use-f7a9dcafc5d826aca83374458ee0c518ec40ff98.zip
submitting widget instead of style (style/font initialization bug from gtk
-rw-r--r--perl-install/install_steps_gtk.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 7223ea47b..3ff152681 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -564,7 +564,7 @@ sub installPackages {
foreach (@data) {
my ($text, $x, $y, $area_width, $area_height, $bold) = @$_;
my ($width, $height, $lines, $widths, $heights, $ascents, $descents) =
- get_text_coord ($text, $darea->style, $area_width, $area_height, 1, 0, 1, 1);
+ get_text_coord ($text, $darea, $area_width, $area_height, 1, 0, 1, 1);
if ($first && $icon) {
my $iconx = ($dx-$width)/2 + $x + ${$widths}[0] - $icon_dx;
my $icony = $y + ${$heights}[0] - $icon_dy/2;
@@ -580,7 +580,7 @@ sub installPackages {
$dbl_area->draw_string($darea->style->font, $gc_text,
($dx-$width)/2 + $x + ${$widths}[$i], ( $first ? 0 : $decy ) + $y + ${$heights}[$i], $_);
$bold and $dbl_area->draw_string($darea->style->font, $gc_text,
- ($dx-$width)/2 + $x + ${$widths}[$i] + 1, ( $first ? 0 : $decy ) + $y + ${$heights}[$i], $_);
+ ($dx-$width)/2 + $x + ${$widths}[$i] + 1, ( $first ? 0 : $decy ) + $y + ${$heights}[$i], $_);
$i++;
}
$first = 0;