qulogic/pidgin

Do not boldify the chat in the buddylist for unread system messages.
sadrul.conv.persistent
2007-09-15, Sadrul Habib Chowdhury
f1b5a671b0d5
Parents da3f849ce6e3
Children db156c9a707d
Do not boldify the chat in the buddylist for unread system messages.
--- 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 */