Mercurial > pidgin.yaz
changeset 20050:20c336838629
Do not boldify the chat in the buddylist for unread system messages.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 15 Sep 2007 08:03:47 +0000 |
parents | 7af1af2b7ad3 |
children | d9a6d6ac2537 |
files | pidgin/gtkblist.c pidgin/gtkconv.c |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 */
--- 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 */