From: Mark D. <the...@us...> - 2003-06-29 01:00:25
|
Update of /cvsroot/gaim/gaim/src/protocols/toc In directory sc8-pr-cvs1:/tmp/cvs-serv20474/src/protocols/toc Modified Files: toc.c Log Message: I made ICQ people show up as ICQ people when signed on through TOC. For some reason I changed the tabbing of stuff in an oscar file. Index: toc.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/toc/toc.c,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- toc.c 27 Jun 2003 23:11:21 -0000 1.101 +++ toc.c 29 Jun 2003 01:00:22 -0000 1.102 @@ -1267,6 +1267,15 @@ static const char *toc_list_icon(GaimAccount *a, struct buddy *b) { + if (!b || (b && b->name && b->name[0] == '+')) { + if (a != NULL && isdigit(*gaim_account_get_username(a))) + return "icq"; + else + return "aim"; + } + + if (b && b->name && isdigit(b->name[0])) + return "icq"; return "aim"; } @@ -1275,7 +1284,7 @@ char *emblems[4] = {NULL,NULL,NULL,NULL}; int i = 0; - if (b->present == GAIM_BUDDY_OFFLINE) { + if (!GAIM_BUDDY_IS_ONLINE(b)) { *se = "offline"; return; } else { |