Mercurial > pidgin.yaz
diff src/gtkconv.c @ 7801:9db4ec5e6bca
[gaim-migrate @ 8447]
1. Things are better when they compile
2. Ctrl-up and Ctrl-down will work with formatting.
3. closing tags are still effed up.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 08 Dec 2003 00:52:54 +0000 |
parents | 824add06abde |
children | 9ca340251309 |
line wrap: on
line diff
--- a/src/gtkconv.c Mon Dec 08 00:43:56 2003 +0000 +++ b/src/gtkconv.c Mon Dec 08 00:52:54 2003 +0000 @@ -1348,8 +1348,8 @@ conv->send_history->next->data) { conv->send_history = conv->send_history->next; - gtk_text_buffer_set_text(gtkconv->entry_buffer, - conv->send_history->data, -1); + gtk_imhtml_clear(GTK_IMHTML(gtkconv->entry)); + gtk_imhtml_append_text_with_images(GTK_IMHTML(gtkconv->entry), conv->send_history->data, 0, NULL); } break; @@ -1361,9 +1361,10 @@ if (conv->send_history->prev) { conv->send_history = conv->send_history->prev; - if (conv->send_history->data) - gtk_text_buffer_set_text(gtkconv->entry_buffer, - conv->send_history->data, -1); + if (conv->send_history->data) { + gtk_imhtml_clear(GTK_IMHTML(gtkconv->entry)); + gtk_imhtml_append_text_with_images(GTK_IMHTML(gtkconv->entry), conv->send_history->data, 0, NULL); + } } break;