Mercurial > pidgin
comparison src/gtkimhtml.c @ 11968:53d8536c82f6
[gaim-migrate @ 14260]
This fixes untoggling the background color, foreground color and font face.
Love me tender.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 04 Nov 2005 05:30:51 +0000 |
parents | 52f27ffe68a5 |
children | 68c18dd8a316 |
comparison
equal
deleted
inserted
replaced
11967:225e1b274033 | 11968:53d8536c82f6 |
---|---|
4260 } \ | 4260 } \ |
4261 } else { \ | 4261 } else { \ |
4262 if (imhtml->wbfo) { \ | 4262 if (imhtml->wbfo) { \ |
4263 gtk_text_buffer_get_bounds(imhtml->text_buffer, &start, &end); \ | 4263 gtk_text_buffer_get_bounds(imhtml->text_buffer, &start, &end); \ |
4264 remove_func(imhtml, &start, &end, TRUE); \ | 4264 remove_func(imhtml, &start, &end, TRUE); \ |
4265 } else { \ | |
4266 if (gtk_text_buffer_get_selection_bounds(imhtml->text_buffer, &start, &end)) \ | |
4267 remove_func(imhtml, &start, &end, TRUE); \ | |
4265 } \ | 4268 } \ |
4266 } \ | 4269 } \ |
4267 \ | 4270 \ |
4268 object = g_object_ref(G_OBJECT(imhtml)); \ | 4271 object = g_object_ref(G_OBJECT(imhtml)); \ |
4269 g_signal_emit(object, signals[TOGGLE_FORMAT], 0, button); \ | 4272 g_signal_emit(object, signals[TOGGLE_FORMAT], 0, button); \ |