Mercurial > pidgin
comparison src/gtkimhtml.h @ 11224:409d6a11da51
[gaim-migrate @ 13360]
Restrict the conversation scrollback. Current default is 4000 lines. This also fixes the IM images not actually being cleared by gtk_imhtml_clear().
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 10 Aug 2005 21:13:44 +0000 |
parents | 364a2ef907ae |
children | 477e5cca8287 |
comparison
equal
deleted
inserted
replaced
11223:d424c3bbac8d | 11224:409d6a11da51 |
---|---|
345 * @param imhtml The GTK+ IM/HTML. | 345 * @param imhtml The GTK+ IM/HTML. |
346 */ | 346 */ |
347 void gtk_imhtml_scroll_to_end(GtkIMHtml *imhtml); | 347 void gtk_imhtml_scroll_to_end(GtkIMHtml *imhtml); |
348 | 348 |
349 /** | 349 /** |
350 * Delete the contents of a GTK+ IM/HTML between start and end. | |
351 * | |
352 * @param imhtml The GTK+ IM/HTML. | |
353 * @param start a postition in the imhtml's buffer | |
354 * @param end another postition in the imhtml's buffer | |
355 */ | |
356 void gtk_imhtml_delete(GtkIMHtml *imhtml, GtkTextIter *start, GtkTextIter *end); | |
357 | |
358 /** | |
350 * Purges the contents from a GTK+ IM/HTML and resets formatting. | 359 * Purges the contents from a GTK+ IM/HTML and resets formatting. |
351 * | 360 * |
352 * @param imhtml The GTK+ IM/HTML. | 361 * @param imhtml The GTK+ IM/HTML. |
353 */ | 362 */ |
354 void gtk_imhtml_clear(GtkIMHtml *imhtml); | 363 #define gtk_imhtml_clear(imhtml) \ |
364 gtk_imhtml_delete(imhtml, NULL, NULL) | |
355 | 365 |
356 /** | 366 /** |
357 * Scrolls a GTK+ IM/HTML up by one page. | 367 * Scrolls a GTK+ IM/HTML up by one page. |
358 * | 368 * |
359 * @param imhtml The GTK+ IM/HTML. | 369 * @param imhtml The GTK+ IM/HTML. |