summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-16 18:02:44 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-16 18:02:44 +0000
commit74daaa2287fdf2f88861c3f8c1a31441d9b323e3 (patch)
treea4a8bb154c86c321498b8d82344a6f58dc103d65 /perl-install
parent854d299cf64d25e6b0fb9f24048514d0bd887b79 (diff)
downloaddrakx-74daaa2287fdf2f88861c3f8c1a31441d9b323e3.tar
drakx-74daaa2287fdf2f88861c3f8c1a31441d9b323e3.tar.gz
drakx-74daaa2287fdf2f88861c3f8c1a31441d9b323e3.tar.bz2
drakx-74daaa2287fdf2f88861c3f8c1a31441d9b323e3.tar.xz
drakx-74daaa2287fdf2f88861c3f8c1a31441d9b323e3.zip
(display_release_notes) workaround too small fonts when using WebKit
to display release notes through CSS tricking
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index f0cb26131..f18b287b6 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -900,6 +900,13 @@ sub display_release_notes {
}, [ {} ]);
return;
}
+
+ # workaround too small fonts:
+ $release_notes =~ s!(<head>)!\1 <style type="text/css">
+ body { font-family: sans-serif; font-size: 13px }
+ table { font-family: sans-serif; font-size: 13px }
+ </style>!x;
+
require Gtk2::WebKit;
require ugtk2;
ugtk2->import(':all');