aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-04-16 20:19:16 +0800
committerDan Vrátil <dvratil@redhat.com>2012-04-16 20:19:16 +0800
commit6762b1238d6c2e38aeca76ec266b7e6b82a36f19 (patch)
tree4e20a64eb1f9be142aa1d51ff222d6294612d9d9
parent681fef448f143a3702c9ea127ae0a3f889e01472 (diff)
downloadgsoc2013-evolution-6762b1238d6c2e38aeca76ec266b7e6b82a36f19.tar
gsoc2013-evolution-6762b1238d6c2e38aeca76ec266b7e6b82a36f19.tar.gz
gsoc2013-evolution-6762b1238d6c2e38aeca76ec266b7e6b82a36f19.tar.bz2
gsoc2013-evolution-6762b1238d6c2e38aeca76ec266b7e6b82a36f19.tar.lz
gsoc2013-evolution-6762b1238d6c2e38aeca76ec266b7e6b82a36f19.tar.xz
gsoc2013-evolution-6762b1238d6c2e38aeca76ec266b7e6b82a36f19.tar.zst
gsoc2013-evolution-6762b1238d6c2e38aeca76ec266b7e6b82a36f19.zip
Handle default e-mail fonts with multiword names correctly
-rw-r--r--widgets/misc/e-web-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c
index 99af4681fd..0eab91a806 100644
--- a/widgets/misc/e-web-view.c
+++ b/widgets/misc/e-web-view.c
@@ -2904,7 +2904,7 @@ e_web_view_update_fonts(EWebView *web_view)
stylesheet = g_string_new ("");
g_string_append_printf (stylesheet,
"body {\n"
- " font-family: %s;\n"
+ " font-family: '%s';\n"
" font-size: %dpt;\n"
" font-weight: %d;\n"
" font-style: %s;\n",
@@ -2936,7 +2936,7 @@ e_web_view_update_fonts(EWebView *web_view)
g_string_append_printf (stylesheet,
"pre,code,.pre {\n"
- " font-family: %s;\n"
+ " font-family: '%s';\n"
" font-size: %dpt;\n"
" font-weight: %d;\n"
" font-style: %s;\n"