Mercurial > pidgin
comparison plugins/history.c @ 10763:ec8b632c0e2a
[gaim-migrate @ 12368]
I just noticed that history + timestamp == no newline. This ought fix that.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 01 Apr 2005 21:20:10 +0000 |
parents | f8e395a054e2 |
children | c3b709d6d1e7 |
comparison
equal
deleted
inserted
replaced
10762:019229bf8b7e | 10763:ec8b632c0e2a |
---|---|
50 | 50 |
51 history = gaim_log_read((GaimLog*)logs->data, &flags); | 51 history = gaim_log_read((GaimLog*)logs->data, &flags); |
52 gtkconv = GAIM_GTK_CONVERSATION(c); | 52 gtkconv = GAIM_GTK_CONVERSATION(c); |
53 if (flags & GAIM_LOG_READ_NO_NEWLINE) | 53 if (flags & GAIM_LOG_READ_NO_NEWLINE) |
54 options |= GTK_IMHTML_NO_NEWLINE; | 54 options |= GTK_IMHTML_NO_NEWLINE; |
55 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), <br>, options); | |
55 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), history, options); | 56 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), history, options); |
56 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), "<hr>", options); | 57 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), "<hr>", options); |
57 g_object_ref(G_OBJECT(gtkconv->imhtml)); | 58 g_object_ref(G_OBJECT(gtkconv->imhtml)); |
58 g_idle_add(_scroll_imhtml_to_end, gtkconv->imhtml); | 59 g_idle_add(_scroll_imhtml_to_end, gtkconv->imhtml); |
59 g_free(history); | 60 g_free(history); |