Mercurial > pidgin
changeset 22279:40707fbabcbc
Highlighted message color has a higher priority over an action message color.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 12 Feb 2008 03:58:58 +0000 |
parents | ae719d4a2f41 |
children | d680613669cc |
files | finch/gntconv.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntconv.c Sat Feb 09 07:54:02 2008 +0000 +++ b/finch/gntconv.c Tue Feb 12 03:58:58 2008 +0000 @@ -837,7 +837,11 @@ if (purple_message_meify((char*)message, -1)) { name = g_strdup_printf("*** %s", who); - msgflags = gnt_color_pair(color_message_action); + if (!(flags & PURPLE_MESSAGE_SEND) && + (flags & PURPLE_MESSAGE_NICK)) + msgflags = gnt_color_pair(color_message_highlight); + else + msgflags = gnt_color_pair(color_message_action); me = TRUE; } else { name = g_strdup_printf("%s", who);