diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-11 16:08:44 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-11 16:08:44 +0000 |
commit | c290890d427108bf28dbf64f12d7b26fc9c8c510 (patch) | |
tree | 941c1387977f568617665d6ddf8efdafb2775fa9 /perl-install/mygtk2.pm | |
parent | 051851bce3cade8903303494bd250813fd53093b (diff) | |
download | drakx-c290890d427108bf28dbf64f12d7b26fc9c8c510.tar drakx-c290890d427108bf28dbf64f12d7b26fc9c8c510.tar.gz drakx-c290890d427108bf28dbf64f12d7b26fc9c8c510.tar.bz2 drakx-c290890d427108bf28dbf64f12d7b26fc9c8c510.tar.xz drakx-c290890d427108bf28dbf64f12d7b26fc9c8c510.zip |
(title1_to_markup) bump titles' size by 1 (eg: from 12 to 13 for default font settings)
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r-- | perl-install/mygtk2.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index 787fe9ba0..e800889c3 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -414,7 +414,12 @@ sub _gtk__Alignment { sub title1_to_markup { my ($label) = @_; if ($::isInstall) { - qq(<span foreground="#5A8AD6">$label</span>); + my $font = lang::l2pango_font($::o->{locale}{lang}); + if (my ($font_size) = $font =~ /(\d+)/) { + $font_size++; + $font =~ s/\d+/$font_size/; + } + qq(<span foreground="#5A8AD6" font="$font">$label</span>); } else { qq(<b><big>$label</big></b>); } |