# HG changeset patch # User Sadrul Habib Chowdhury # Date 1189843427 0 # Node ID 20c33683862957ea94839c6c50c067a785835ba9 # Parent 7af1af2b7ad30dc8759eaa52cb70468ca303d09c Do not boldify the chat in the buddylist for unread system messages. diff -r 7af1af2b7ad3 -r 20c336838629 pidgin/gtkblist.c --- a/pidgin/gtkblist.c Sat Sep 15 06:26:35 2007 +0000 +++ b/pidgin/gtkblist.c Sat Sep 15 08:03:47 2007 +0000 @@ -3909,7 +3909,8 @@ PurpleConversation *conv, PurpleMessageFlags flag, PurpleBlistNode *node) { PidginBlistNode *ui = node->ui_data; - if (ui->conv.conv != conv || PIDGIN_CONVERSATION(conv)) + if (ui->conv.conv != conv || PIDGIN_CONVERSATION(conv) || + !(flag & (PURPLE_MESSAGE_SEND | PURPLE_MESSAGE_RECV))) return; ui->conv.flags |= PIDGIN_BLIST_NODE_HAS_PENDING_MESSAGE; ui->conv.last_message = time(NULL); /* XXX: for lack of better data */ diff -r 7af1af2b7ad3 -r 20c336838629 pidgin/gtkconv.c --- a/pidgin/gtkconv.c Sat Sep 15 06:26:35 2007 +0000 +++ b/pidgin/gtkconv.c Sat Sep 15 08:03:47 2007 +0000 @@ -5135,8 +5135,6 @@ PurpleConversation *conv, PurpleMessageFlags flags) { PurpleConversationUiOps *ui_ops = pidgin_conversations_get_conv_ui_ops(); - if (conv != NULL) - return; /* create hidden conv if hide_new pref is always */ /* or if hide_new pref is away and account is away */