Mercurial > pidgin
changeset 12064:658623020748
[gaim-migrate @ 14359]
SF Patch #1355592 from Sadrul
'If I uncheck the "Show formatting on incoming
messages", then it also starts ignoring the format of
the outgoing messages -- which I don't believe is the
intended behaviour. This patch fixes that.'
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 13 Nov 2005 01:03:43 +0000 |
parents | cb9d1a005aef |
children | ff985a2d88b9 |
files | src/gtkconv.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Sun Nov 13 00:40:56 2005 +0000 +++ b/src/gtkconv.c Sun Nov 13 01:03:43 2005 +0000 @@ -4165,7 +4165,8 @@ gtk_font_options |= GTK_IMHTML_NO_COMMENTS; - if (!gaim_prefs_get_bool("/gaim/gtk/conversations/show_incoming_formatting")) + if ((flags & GAIM_MESSAGE_RECV) && + !gaim_prefs_get_bool("/gaim/gtk/conversations/show_incoming_formatting")) gtk_font_options |= GTK_IMHTML_NO_COLOURS | GTK_IMHTML_NO_FONTS | GTK_IMHTML_NO_SIZES | GTK_IMHTML_NO_FORMATTING; /* this is gonna crash one day, I can feel it. */