diff src/gtkconv.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 6443491fa59d
children ba0b99a72be2
line wrap: on
line diff
--- a/src/gtkconv.c	Thu Aug 07 00:48:48 2003 +0000
+++ b/src/gtkconv.c	Thu Aug 07 01:09:38 2003 +0000
@@ -4841,6 +4841,12 @@
 			style->fg[GTK_STATE_ACTIVE].blue  = 0x6C6C;
 			style->fg[GTK_STATE_NORMAL] = style->fg[GTK_STATE_ACTIVE];
 		}
+		else if (gaim_conversation_get_unseen(conv) == GAIM_UNSEEN_EVENT) {
+			style->fg[GTK_STATE_ACTIVE].red   = 0x8686;;
+			style->fg[GTK_STATE_ACTIVE].green = 0x8282;
+			style->fg[GTK_STATE_ACTIVE].blue  = 0x7272;
+			style->fg[GTK_STATE_NORMAL] = style->fg[GTK_STATE_ACTIVE];
+		}
 		else if (gaim_conversation_get_unseen(conv) == GAIM_UNSEEN_TEXT) {
 			style->fg[GTK_STATE_ACTIVE].red   = 0xDFDF;
 			style->fg[GTK_STATE_ACTIVE].green = 0x4242;