diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-07-25 15:43:30 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-07-25 15:43:30 +0000 |
commit | 2b1cf3be9fbd2ad41d399b5aef594b95728ba085 (patch) | |
tree | 8e329960585e64b81d876fdf9f9269d88cd96ad7 /perl-install/ugtk2.pm | |
parent | 06b9dd6eed177e55e8c6c1fd15911237996a0a62 (diff) | |
download | drakx-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.pm | 5 |
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; |