| 207 (char *)purple_status_type_get_id(purple_status_get_type(newstatus))); |
207 (char *)purple_status_type_get_id(purple_status_get_type(newstatus))); |
| 208 |
208 |
| 209 for (l = purple_account_get_status_types(account); l != NULL; l = l->next) { |
209 for (l = purple_account_get_status_types(account); l != NULL; l = l->next) { |
| 210 PurpleStatusType *status_type = (PurpleStatusType *)l->data; |
210 PurpleStatusType *status_type = (PurpleStatusType *)l->data; |
| 211 |
211 |
| 212 if (!purple_status_type_is_user_settable(status_type)) |
212 if (!purple_status_type_is_user_settable(status_type) || |
| |
213 purple_status_type_is_independent(status_type)) |
| 213 continue; |
214 continue; |
| 214 status_no++; |
215 status_no++; |
| 215 if (statustype == status_type) |
216 if (statustype == status_type) |
| 216 break; |
217 break; |
| 217 } |
218 } |
| 1028 for (l = purple_account_get_status_types(account); l != NULL; l = l->next) |
1030 for (l = purple_account_get_status_types(account); l != NULL; l = l->next) |
| 1029 { |
1031 { |
| 1030 PurpleStatusType *status_type = (PurpleStatusType *)l->data; |
1032 PurpleStatusType *status_type = (PurpleStatusType *)l->data; |
| 1031 PurpleStatusPrimitive prim; |
1033 PurpleStatusPrimitive prim; |
| 1032 |
1034 |
| 1033 if (!purple_status_type_is_user_settable(status_type)) |
1035 if (!purple_status_type_is_user_settable(status_type) || |
| |
1036 purple_status_type_is_independent(status_type)) |
| 1034 continue; |
1037 continue; |
| 1035 |
1038 |
| 1036 prim = purple_status_type_get_primitive(status_type); |
1039 prim = purple_status_type_get_primitive(status_type); |
| 1037 |
1040 |
| 1038 pixbuf = pidgin_status_box_get_pixbuf(status_box, prim); |
1041 pixbuf = pidgin_status_box_get_pixbuf(status_box, prim); |
| 1039 |
1042 |
| 1040 pidgin_status_box_add(PIDGIN_STATUS_BOX(status_box), |
1043 pidgin_status_box_add(PIDGIN_STATUS_BOX(status_box), |
| 1041 PIDGIN_STATUS_BOX_TYPE_PRIMITIVE, pixbuf, |
1044 PIDGIN_STATUS_BOX_TYPE_PRIMITIVE, pixbuf, |
| 1042 purple_status_type_get_name(status_type), |
1045 purple_status_type_get_name(status_type), |
| 1043 NULL, |
1046 NULL, |