[evolution] Handle default e-mail fonts with multiword names correctly
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Handle default e-mail fonts with multiword names correctly
- Date: Mon, 16 Apr 2012 12:19:36 +0000 (UTC)
commit 6762b1238d6c2e38aeca76ec266b7e6b82a36f19
Author: Dan VrÃtil <dvratil redhat com>
Date: Mon Apr 16 14:19:16 2012 +0200
Handle default e-mail fonts with multiword names correctly
widgets/misc/e-web-view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c
index 99af468..0eab91a 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]