balsa r8040 - in trunk: . libbalsa



Author: PeterB
Date: Sat Jan  3 20:16:36 2009
New Revision: 8040
URL: http://svn.gnome.org/viewvc/balsa?rev=8040&view=rev

Log:
tell WebKit the charset

Modified:
   trunk/ChangeLog
   trunk/libbalsa/html.c

Modified: trunk/libbalsa/html.c
==============================================================================
--- trunk/libbalsa/html.c	(original)
+++ trunk/libbalsa/html.c	Sat Jan  3 20:16:36 2009
@@ -177,7 +177,8 @@
     g_signal_connect(web_view, "load-progress-changed",
                      G_CALLBACK(gtk_widget_queue_resize), NULL);
 
-    webkit_web_view_load_html_string(web_view, text, NULL);
+    webkit_web_view_load_string(web_view, text, "text/html", charset,
+                                NULL);
 
     return widget;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]