Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 2679:94aa499ecd39
[gaim-migrate @ 2692]
This is not an advertisement and has nothing to do with who I work for. I promise. Its just about personal taste.
committer: Tailor Script <tailor@pidgin.im>
author | Adam Fritzler <mid@auk.cx> |
---|---|
date | Tue, 06 Nov 2001 04:40:21 +0000 |
parents | e759254b29bb |
children | 37d80035e77f |
comparison
equal
deleted
inserted
replaced
2678:aa06a77990f1 | 2679:94aa499ecd39 |
---|---|
1543 return 1; | 1543 return 1; |
1544 } | 1544 } |
1545 | 1545 |
1546 static char *images(int flags) { | 1546 static char *images(int flags) { |
1547 static char buf[1024]; | 1547 static char buf[1024]; |
1548 g_snprintf(buf, sizeof(buf), "%s%s%s%s", | 1548 g_snprintf(buf, sizeof(buf), "%s%s%s%s%s", |
1549 (flags & AIM_FLAG_ACTIVEBUDDY) ? "<IMG SRC=\"ab_icon.gif\">" : "", | |
1549 (flags & AIM_FLAG_UNCONFIRMED) ? "<IMG SRC=\"dt_icon.gif\">" : "", | 1550 (flags & AIM_FLAG_UNCONFIRMED) ? "<IMG SRC=\"dt_icon.gif\">" : "", |
1550 (flags & AIM_FLAG_AOL) ? "<IMG SRC=\"aol_icon.gif\">" : "", | 1551 (flags & AIM_FLAG_AOL) ? "<IMG SRC=\"aol_icon.gif\">" : "", |
1551 (flags & AIM_FLAG_ADMINISTRATOR) ? "<IMG SRC=\"admin_icon.gif\">" : "", | 1552 (flags & AIM_FLAG_ADMINISTRATOR) ? "<IMG SRC=\"admin_icon.gif\">" : "", |
1552 (flags & AIM_FLAG_FREE) ? "<IMG SRC=\"free_icon.gif\">" : ""); | 1553 (flags & AIM_FLAG_FREE) ? "<IMG SRC=\"free_icon.gif\">" : ""); |
1553 return buf; | 1554 return buf; |
2460 return icon_ffc_xpm; | 2461 return icon_ffc_xpm; |
2461 if (uc & AIM_ICQ_STATE_INVISIBLE) | 2462 if (uc & AIM_ICQ_STATE_INVISIBLE) |
2462 return icon_offline_xpm; | 2463 return icon_offline_xpm; |
2463 return icon_online_xpm; | 2464 return icon_online_xpm; |
2464 } | 2465 } |
2465 if (uc & UC_AB) | |
2466 return (char **)ab_xpm; | |
2467 if (uc & UC_UNAVAILABLE) | 2466 if (uc & UC_UNAVAILABLE) |
2468 return (char **)away_icon_xpm; | 2467 return (char **)away_icon_xpm; |
2468 if ((uc & UC_AB) && (uc & UC_NORMAL)) | |
2469 return (char **)ab_xpm; | |
2469 if (uc & UC_AOL) | 2470 if (uc & UC_AOL) |
2470 return (char **)aol_icon_xpm; | 2471 return (char **)aol_icon_xpm; |
2471 if (uc & UC_ADMIN) | 2472 if (uc & UC_ADMIN) |
2472 return (char **)admin_icon_xpm; | 2473 return (char **)admin_icon_xpm; |
2473 if (uc & UC_UNCONFIRMED) | 2474 if (uc & UC_UNCONFIRMED) |