comparison plugins/history.c @ 7251:bdf0e5f71124

[gaim-migrate @ 7828] it bothers me that this fixes it, but this fixes the scrolling in the history plugin committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 13 Oct 2003 21:51:53 +0000
parents 9220c7490cd1
children 1930e3d00ecd
comparison
equal deleted inserted replaced
7250:dee9f6aebbf3 7251:bdf0e5f71124
61 61
62 gtkconv = GAIM_GTK_CONVERSATION(c); 62 gtkconv = GAIM_GTK_CONVERSATION(c);
63 63
64 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), tmp2, options); 64 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), tmp2, options);
65 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), "<br>", options); 65 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), "<br>", options);
66 gtk_text_buffer_get_end_iter(GTK_IMHTML(gtkconv->imhtml)->text_buffer, & 66 gtk_text_buffer_get_end_iter(GTK_IMHTML(gtkconv->imhtml)->text_buffer,
67 end); 67 &end);
68 gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(gtkconv->imhtml), &end, 0, 0, 68 gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(gtkconv->imhtml), &end, 0,
69 0, 0); 69 TRUE, 0, 0);
70 gtk_text_buffer_move_mark_by_name(GTK_IMHTML(gtkconv->imhtml)->text_buffer,
71 "insert", &end);
72 70
73 g_free(tmp2); 71 g_free(tmp2);
74 g_free(userdir); 72 g_free(userdir);
75 g_free(logfile); 73 g_free(logfile);
76 g_free(path); 74 g_free(path);