| 118 purple_account_get_protocol_name(((PurpleLog*)logs->data)->account)); |
119 purple_account_get_protocol_name(((PurpleLog*)logs->data)->account)); |
| 119 |
120 |
| 120 if (gtk_text_buffer_get_char_count(gtk_text_view_get_buffer(GTK_TEXT_VIEW(gtkconv->imhtml)))) |
121 if (gtk_text_buffer_get_char_count(gtk_text_view_get_buffer(GTK_TEXT_VIEW(gtkconv->imhtml)))) |
| 121 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), "<BR>", options); |
122 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), "<BR>", options); |
| 122 |
123 |
| 123 header = g_strdup_printf(_("<b>Conversation with %s on %s:</b><br>"), alias, |
124 escaped_alias = g_markup_escape_text(alias, -1); |
| |
125 header = g_strdup_printf(_("<b>Conversation with %s on %s:</b><br>"), escaped_alias, |
| 124 purple_date_format_full(localtime(&((PurpleLog *)logs->data)->time))); |
126 purple_date_format_full(localtime(&((PurpleLog *)logs->data)->time))); |
| 125 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), header, options); |
127 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), header, options); |
| 126 g_free(header); |
128 g_free(header); |
| |
129 g_free(escaped_alias); |
| 127 |
130 |
| 128 g_strchomp(history); |
131 g_strchomp(history); |
| 129 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), history, options); |
132 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), history, options); |
| 130 g_free(history); |
133 g_free(history); |
| 131 |
134 |