diff pidgin/gtkconv.c @ 20920:ef44eb0859fe

This is sure to be a controversial change... As I mentioned the other day in #pidgin, our tab coloring is inconsistent. This change makes tabs turn red for either IM messages or chat messages where your nick is said. (Ordinary messages in chats now use blue.) This way, red is always the important color. If you have a window with chats and IM conversations, you wouldn't have to search a sea of red to find the important tab.
author Richard Laager <rlaager@wiktel.com>
date Sat, 13 Oct 2007 21:36:50 +0000
parents 680e1319b464
children 5c849ee68659 91ce973a950b 5e46cdf9ef2b c5f9e1eb59d5 789ed158a50a
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Sat Oct 13 21:23:54 2007 +0000
+++ b/pidgin/gtkconv.c	Sat Oct 13 21:36:50 2007 +0000
@@ -6572,10 +6572,13 @@
 			style = "color=\"#c4a000\"";
 		} else if (gtkconv->unseen_state == PIDGIN_UNSEEN_NICK)	{
 			atk_object_set_description(accessibility_obj, _("Nick Said"));
-			style = "color=\"#204a87\"";
+			style = "color=\"#cc0000\"";
 		} else if (gtkconv->unseen_state == PIDGIN_UNSEEN_TEXT)	{
 			atk_object_set_description(accessibility_obj, _("Unread Messages"));
-			style = "color=\"#cc0000\"";
+			if (gtkconv->active_conv->type == PURPLE_CONV_TYPE_CHAT)
+				style = "color=\"#204a87\" weight=\"bold\"";
+			else
+				style = "color=\"#cc0000\" weight=\"bold\"";
 		} else if (gtkconv->unseen_state == PIDGIN_UNSEEN_EVENT) {
 			atk_object_set_description(accessibility_obj, _("New Event"));
 			style = "color=\"#888a85\"";