changeset 32101:a082cbc30835

just some debugging info.
author tdrhq@soc.pidgin.im
date Wed, 12 Aug 2009 02:01:35 +0000
parents 9f6affeb2a92
children c0cc4d60ac5c
files pidgin/plugins/adiumthemes/webkit.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/adiumthemes/webkit.c	Wed Aug 12 01:12:15 2009 +0000
+++ b/pidgin/plugins/adiumthemes/webkit.c	Wed Aug 12 02:01:35 2009 +0000
@@ -767,6 +767,8 @@
 	template = replace_template_tokens(style, style->template_html, strlen(style->template_html) + strlen(style->header_html), header, footer);
 
 	g_assert(template);
+	
+	purple_debug_info ("webkit", "template: %s\n", template);
 	webkit_web_view_load_string(WEBKIT_WEB_VIEW(webkit), template, "text/html", "UTF-8", baseuri);
 
 	g_object_set_data (G_OBJECT(webkit), MESSAGE_STYLE_KEY, style);
@@ -851,6 +853,7 @@
 	escape = gtk_webview_quote_js_string (msg);
 	script = g_strdup_printf("%s(%s)", func, escape);
 
+	purple_debug_info ("webkit", "JS: %s\n", script);
 	gtk_webview_safe_execute_script (GTK_WEBVIEW (webkit), script);
 
 	g_free(script);