From: Nathan W. <fac...@us...> - 2003-10-13 21:51:57
|
Update of /cvsroot/gaim/gaim/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv17438/plugins Modified Files: history.c Log Message: it bothers me that this fixes it, but this fixes the scrolling in the history plugin Index: history.c =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/history.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -p -r1.22 -r1.23 --- history.c 1 Oct 2003 06:17:26 -0000 1.22 +++ history.c 13 Oct 2003 21:51:53 -0000 1.23 @@ -63,12 +63,10 @@ static void historize(GaimConversation * gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), tmp2, options); gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), "<br>", options); - gtk_text_buffer_get_end_iter(GTK_IMHTML(gtkconv->imhtml)->text_buffer, & -end); - gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(gtkconv->imhtml), &end, 0, 0, - 0, 0); - gtk_text_buffer_move_mark_by_name(GTK_IMHTML(gtkconv->imhtml)->text_buffer, - "insert", &end); + gtk_text_buffer_get_end_iter(GTK_IMHTML(gtkconv->imhtml)->text_buffer, + &end); + gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(gtkconv->imhtml), &end, 0, + TRUE, 0, 0); g_free(tmp2); g_free(userdir); |