im.pidgin.pidgin: ec3eb6c7eb0cf35470ad2903ec365b5a64f74a5a

sadrul at pidgin.im sadrul at pidgin.im
Mon Feb 11 23:06:17 EST 2008


-----------------------------------------------------------------
Revision: ec3eb6c7eb0cf35470ad2903ec365b5a64f74a5a
Ancestor: 956f3b4fffefc5833167f00438fc7d72366562a3
Author: sadrul at pidgin.im
Date: 2008-02-12T03:58:58
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/ec3eb6c7eb0cf35470ad2903ec365b5a64f74a5a

Modified files:
        finch/gntconv.c

ChangeLog: 

Highlighted message color has a higher priority over an action message color.

-------------- next part --------------
============================================================
--- finch/gntconv.c	dde9aa0c7e3b2f386a3695584514ef5eb6cd3a8f
+++ finch/gntconv.c	1c2483924f49cca7adce2cafed4028b404905c37
@@ -837,7 +837,11 @@ finch_write_common(PurpleConversation *c
 
 		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);


More information about the Commits mailing list