# HG changeset patch # User Sean Egan # Date 1070844774 0 # Node ID 9db4ec5e6bcaddf88d42f83fb091918d97eb30e9 # Parent 1eb2c09b9a860461a2e3d5572809fb38e51ff857 [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 diff -r 1eb2c09b9a86 -r 9db4ec5e6bca src/gtkconv.c --- 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; diff -r 1eb2c09b9a86 -r 9db4ec5e6bca src/gtkimhtml.c --- a/src/gtkimhtml.c Mon Dec 08 00:43:56 2003 +0000 +++ b/src/gtkimhtml.c Mon Dec 08 00:52:54 2003 +0000 @@ -643,7 +643,7 @@ /* The callback for an event on a link tag. */ gboolean tag_event(GtkTextTag *tag, GObject *imhtml, GdkEvent *event, GtkTextIter *arg2, char *url) { GdkEventButton *event_button = (GdkEventButton *) event; - if (imhtml->editable) + if (GTK_IMHTML(imhtml)->editable) return FALSE; if (event->type == GDK_BUTTON_RELEASE) { if (event_button->button == 1) {