comparison src/protocols/toc/toc.c @ 5068:b37d7d09ec83

[gaim-migrate @ 5419] logout icons committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 07 Apr 2003 23:17:27 +0000
parents d5c136474f26
children 381da05cb5ed
comparison
equal deleted inserted replaced
5067:bc40b13c83a0 5068:b37d7d09ec83
1286 static void toc_list_emblems(struct buddy *b, char **se, char **sw, char **nw, char **ne) 1286 static void toc_list_emblems(struct buddy *b, char **se, char **sw, char **nw, char **ne)
1287 { 1287 {
1288 char *emblems[4] = {NULL,NULL,NULL,NULL}; 1288 char *emblems[4] = {NULL,NULL,NULL,NULL};
1289 int i = 0; 1289 int i = 0;
1290 1290
1291 if (b->present == 0) { 1291 if (b->present == GAIM_BUDDY_OFFLINE) {
1292 *se = "offline"; 1292 *se = "offline";
1293 return; 1293 return;
1294 } else { 1294 } else {
1295 if (b->uc & UC_UNAVAILABLE) 1295 if (b->uc & UC_UNAVAILABLE)
1296 emblems[i++] = "away"; 1296 emblems[i++] = "away";