# HG changeset patch # User tdrhq@soc.pidgin.im # Date 1250042495 0 # Node ID a082cbc308354132b6fe67f20ee887b6a740b182 # Parent 9f6affeb2a92d9a6ec34989ac6bd64b1481f51c5 just some debugging info. diff -r 9f6affeb2a92 -r a082cbc30835 pidgin/plugins/adiumthemes/webkit.c --- 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);