comparison pidgin/gtkconv.c @ 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
comparison
equal deleted inserted replaced
20049:7af1af2b7ad3 20050:20c336838629
5133 static void 5133 static void
5134 received_im_msg_cb(PurpleAccount *account, char *sender, char *message, 5134 received_im_msg_cb(PurpleAccount *account, char *sender, char *message,
5135 PurpleConversation *conv, PurpleMessageFlags flags) 5135 PurpleConversation *conv, PurpleMessageFlags flags)
5136 { 5136 {
5137 PurpleConversationUiOps *ui_ops = pidgin_conversations_get_conv_ui_ops(); 5137 PurpleConversationUiOps *ui_ops = pidgin_conversations_get_conv_ui_ops();
5138 if (conv != NULL)
5139 return;
5140 5138
5141 /* create hidden conv if hide_new pref is always */ 5139 /* create hidden conv if hide_new pref is always */
5142 /* or if hide_new pref is away and account is away */ 5140 /* or if hide_new pref is away and account is away */
5143 if ((strcmp(purple_prefs_get_string(PIDGIN_PREFS_ROOT "/conversations/im/hide_new"), "always") == 0) || 5141 if ((strcmp(purple_prefs_get_string(PIDGIN_PREFS_ROOT "/conversations/im/hide_new"), "always") == 0) ||
5144 (strcmp(purple_prefs_get_string(PIDGIN_PREFS_ROOT "/conversations/im/hide_new"), "away") == 0 && 5142 (strcmp(purple_prefs_get_string(PIDGIN_PREFS_ROOT "/conversations/im/hide_new"), "away") == 0 &&