pidgin/gtkstatusbox.c

changeset 31326
c253c498a60e
parent 30707
cdaabb0e9f13
child 31327
831530000b51
equal deleted inserted replaced
31317:c61f1279ba87 31326:c253c498a60e
2657 PurpleStatusType *status_type; 2657 PurpleStatusType *status_type;
2658 2658
2659 account = node->data; 2659 account = node->data;
2660 status_type = purple_account_get_status_type_with_primitive(account, GPOINTER_TO_INT(data)); 2660 status_type = purple_account_get_status_type_with_primitive(account, GPOINTER_TO_INT(data));
2661 if ((status_type != NULL) && 2661 if ((status_type != NULL) &&
2662 (purple_status_type_get_attr(status_type, "message") != NULL)) 2662 (purple_status_type_get_attr(status_type, "message") != NULL) &&
2663 (purple_status_type_get_primitive(status_type) != PURPLE_STATUS_OFFLINE))
2663 { 2664 {
2664 status_box->imhtml_visible = TRUE; 2665 status_box->imhtml_visible = TRUE;
2665 break; 2666 break;
2666 } 2667 }
2667 } 2668 }

mercurial