pidgin/gtkstatusbox.c

changeset 31327
831530000b51
parent 31326
c253c498a60e
child 31396
6d3746f00f06
child 32414
8c5d1edf9da2
equal deleted inserted replaced
31326:c253c498a60e 31327:831530000b51
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))
2664 { 2663 {
2665 status_box->imhtml_visible = TRUE; 2664 status_box->imhtml_visible = TRUE;
2666 break; 2665 break;
2667 } 2666 }
2668 } 2667 }

mercurial