diff src/conversation.c @ 6405:96de6d9eb422

[gaim-migrate @ 6910] Added a new unseen type: GAIM_CONV_UNSEEN_EVENT. Now window closing, timing out, logins, logouts, etc. (any of those black bold messages) grey the tab instead of the tab looking like someone talked in it. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 07 Aug 2003 01:09:38 +0000
parents 01963a303f43
children ba0b99a72be2
line wrap: on
line diff
--- a/src/conversation.c	Thu Aug 07 00:48:48 2003 +0000
+++ b/src/conversation.c	Thu Aug 07 01:09:38 2003 +0000
@@ -1486,6 +1486,9 @@
 		if ((flags & WFLAG_NICK) == WFLAG_NICK ||
 				gaim_conversation_get_unseen(conv) == GAIM_UNSEEN_NICK)
 			unseen = GAIM_UNSEEN_NICK;
+		else if ((flags & WFLAG_SYSTEM) == WFLAG_SYSTEM &&
+				 gaim_conversation_get_unseen(conv) != GAIM_UNSEEN_TEXT)
+			unseen = GAIM_UNSEEN_EVENT;
 		else
 			unseen = GAIM_UNSEEN_TEXT;
 	}