aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--executive-summary/ChangeLog5
-rw-r--r--executive-summary/component/e-summary.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/executive-summary/ChangeLog b/executive-summary/ChangeLog
index d5788e2a1e..16c7975314 100644
--- a/executive-summary/ChangeLog
+++ b/executive-summary/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-02 Gediminas Paulauskas <menesis@delfi.lt>
+
+ * component/e-summary.c: set default content type of html to
+ "text/html; charset=utf-8".
+
2001-04-25 Dan Winship <danw@ximian.com>
* idl/Makefile.am (INCLUDES): Remove this section, which doesn't
diff --git a/executive-summary/component/e-summary.c b/executive-summary/component/e-summary.c
index 64866318ac..a667c0c9f2 100644
--- a/executive-summary/component/e-summary.c
+++ b/executive-summary/component/e-summary.c
@@ -224,6 +224,8 @@ e_summary_init (ESummary *esummary)
GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
priv->html = gtk_html_new ();
gtk_html_set_editable (GTK_HTML (priv->html), FALSE);
+ gtk_html_set_default_content_type (GTK_HTML (priv->html),
+ "text/html; charset=utf-8");
gtk_html_set_default_background_color (GTK_HTML (priv->html), &bgcolour);
gtk_signal_connect (GTK_OBJECT (priv->html), "url-requested",
GTK_SIGNAL_FUNC (e_summary_url_request), esummary);