im.pidgin.pidgin: 4deed3d2601c30ac4380eb37d703b76b7a66993b

rlaager at pidgin.im rlaager at pidgin.im
Sat Oct 13 17:40:36 EDT 2007


-----------------------------------------------------------------
Revision: 4deed3d2601c30ac4380eb37d703b76b7a66993b
Ancestor: c6f621eb14390271e97e5300ec07a50b54fcbba8
Author: rlaager at pidgin.im
Date: 2007-10-13T21:36:50
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkconv.c

ChangeLog: 

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.

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	1e80bbc04267e1238fbb380a398f96062126681e
+++ pidgin/gtkconv.c	757d8661206daf66a12999aa1587baf38b40564c
@@ -6572,10 +6572,13 @@ pidgin_conv_update_fields(PurpleConversa
 			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\"";


More information about the Commits mailing list