summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-07-25 15:43:30 +0000
committerThierry Vignaud <tv@mandriva.org>2008-07-25 15:43:30 +0000
commit2b1cf3be9fbd2ad41d399b5aef594b95728ba085 (patch)
tree8e329960585e64b81d876fdf9f9269d88cd96ad7 /perl-install/ugtk2.pm
parent06b9dd6eed177e55e8c6c1fd15911237996a0a62 (diff)
downloaddrakx-2b1cf3be9fbd2ad41d399b5aef594b95728ba085.tar
drakx-2b1cf3be9fbd2ad41d399b5aef594b95728ba085.tar.gz
drakx-2b1cf3be9fbd2ad41d399b5aef594b95728ba085.tar.bz2
drakx-2b1cf3be9fbd2ad41d399b5aef594b95728ba085.tar.xz
drakx-2b1cf3be9fbd2ad41d399b5aef594b95728ba085.zip
(Gtk2::Banner->new) reduce titles size (and thus banner size too) at
install time
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 3d1ddb9d8..bc277a829 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -1425,9 +1425,10 @@ sub new {
my $darea = Gtk2::DrawingArea->new;
$darea->set_name('Banner') if $::isInstall;
- my $d_height = $::isInstall ? 45 : 75;
+ my $d_height = $::isInstall ? 35 : 75;
$darea->set_size_request(-1, $d_height);
- $darea->modify_font(Gtk2::Pango::FontDescription->from_string("Sans Bold 14"));
+ my $font_size = $::isInstaller ? 12 : 14;
+ $darea->modify_font(Gtk2::Pango::FontDescription->from_string("Sans Bold $font_size"));
$darea->{icon} = ugtk2::gtkcreate_pixbuf($icon);
$darea->{text} = $text;
require lang;