Mercurial > pidgin.yaz
comparison pidgin/gtkimhtml.c @ 18308:4c3a24270114
Removes the 'remove all buffer tags' function from gtkimhtml's close_tags() function. The problem was that the BACKGROUND tag is always at the end iter, and we don't want to remove that. The toggle functions called above it should do the trick of properly resetting everything, and it does seem to. Fixes #1034
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 27 Jun 2007 18:52:12 +0000 |
parents | db4b0aa4ed8c |
children | 693f9b544e2b 636679fb98ad |
comparison
equal
deleted
inserted
replaced
18307:4434e5c9d247 | 18308:4c3a24270114 |
---|---|
4937 | 4937 |
4938 imhtml->edit.fontsize = 0; | 4938 imhtml->edit.fontsize = 0; |
4939 | 4939 |
4940 if (imhtml->edit.link) | 4940 if (imhtml->edit.link) |
4941 gtk_imhtml_toggle_link(imhtml, NULL); | 4941 gtk_imhtml_toggle_link(imhtml, NULL); |
4942 | |
4943 gtk_text_buffer_remove_all_tags(imhtml->text_buffer, iter, iter); | |
4944 | |
4945 } | 4942 } |
4946 | 4943 |
4947 char *gtk_imhtml_get_markup(GtkIMHtml *imhtml) | 4944 char *gtk_imhtml_get_markup(GtkIMHtml *imhtml) |
4948 { | 4945 { |
4949 GtkTextIter start, end; | 4946 GtkTextIter start, end; |