soc.2009.webkitmessageview: ab736fe1: just some debugging info.

tdrhq at soc.pidgin.im tdrhq at soc.pidgin.im
Tue Aug 25 12:03:56 EDT 2009


-----------------------------------------------------------------
Revision: ab736fe1b75a0da644454aab9547d9cf005ceee2
Ancestor: d314a748b67ba3199a3a720d7543672aa711666b
Author: tdrhq at soc.pidgin.im
Date: 2009-08-12T02:01:35
Branch: im.pidgin.soc.2009.webkitmessageview
URL: http://d.pidgin.im/viewmtn/revision/info/ab736fe1b75a0da644454aab9547d9cf005ceee2

Modified files:
        pidgin/plugins/adiumthemes/webkit.c

ChangeLog: 

just some debugging info.

-------------- next part --------------
============================================================
--- pidgin/plugins/adiumthemes/webkit.c	d91f4408e920d3efffd31cb84502e6b9a8b2ed47
+++ pidgin/plugins/adiumthemes/webkit.c	894d48147793a9a253f1939fcc693160dca4f76e
@@ -767,6 +767,8 @@ init_theme_for_webkit (PurpleConversatio
 	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 @@ static gboolean webkit_on_displaying_im_
 	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);


More information about the Commits mailing list