# HG changeset patch # User Richard Laager # Date 1139212822 0 # Node ID d38aadce44c51494472e0c3f45944ab4061bb201 # Parent 7fd39c81d5e9d21bcd30b07778e4521ac2fa752e [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 diff -r 7fd39c81d5e9 -r d38aadce44c5 src/gtkimhtml.c --- 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); \ } \ } \