Mercurial > pidgin.yaz
changeset 13136:d38aadce44c5
[gaim-migrate @ 15498]
Part of SF Patch #1415135 from Sadrul
Fixes SF Bug #1414719
The bug description is:
"Using Gaim 2.0.0 beta 2.
In the conversation window, if I select some text in
the _scrollback_ and then i send or receive a message,
the font face of the selected text is resetted (set to
default) and the foreground color is set to black
(default?)"
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 06 Feb 2006 08:00:22 +0000 |
parents | 7fd39c81d5e9 |
children | 1ed228c65e89 |
files | src/gtkimhtml.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkimhtml.c Mon Feb 06 07:53:51 2006 +0000 +++ b/src/gtkimhtml.c Mon Feb 06 08:00:22 2006 +0000 @@ -4280,7 +4280,7 @@ gtk_text_buffer_get_bounds(imhtml->text_buffer, &start, &end); \ remove_func(imhtml, &start, &end, TRUE); \ } else { \ - if (gtk_text_buffer_get_selection_bounds(imhtml->text_buffer, &start, &end)) \ + if (imhtml->editable && gtk_text_buffer_get_selection_bounds(imhtml->text_buffer, &start, &end)) \ remove_func(imhtml, &start, &end, TRUE); \ } \ } \