# HG changeset patch # User Richard Laager # Date 1192311410 0 # Node ID ef44eb0859fee31447f557b6d45dd985505b4b94 # Parent f48bee915ede09da08e4bab7ce7b2390271f31e1 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. diff -r f48bee915ede -r ef44eb0859fe pidgin/gtkconv.c --- 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\"";