diff -r 2a86ad923464 -r 65e95df8daea pidgin/gtkconv.c --- a/pidgin/gtkconv.c Sat Jun 02 19:01:44 2012 +0000 +++ b/pidgin/gtkconv.c Sat Jun 02 19:08:43 2012 +0000 @@ -1066,12 +1066,10 @@ static void savelog_writefile_cb(void *user_data, const char *filename) { - /* TODO WEBKIT: I don't know how to support this using webkit yet. */ -#if 0 PurpleConversation *conv = (PurpleConversation *)user_data; + GtkWebView *webview; FILE *fp; const char *name; - char **lines; gchar *text; if ((fp = g_fopen(filename, "w+")) == NULL) { @@ -1079,22 +1077,27 @@ return; } + webview = GTK_WEBVIEW(PIDGIN_CONVERSATION(conv)->webview); name = purple_conversation_get_name(conv); - fprintf(fp, "\n
\n"); + fprintf(fp, "\n"); + + fprintf(fp, "\n"); fprintf(fp, "\n"); - fprintf(fp, "