# HG changeset patch # User Adam Fritzler # Date 1005021621 0 # Node ID 94aa499ecd39040638dba0dfe9942e550770b29e # Parent aa06a77990f1dbf952fa0ca730c4678ffa435418 [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 diff -r aa06a77990f1 -r 94aa499ecd39 src/dialogs.c --- a/src/dialogs.c Mon Nov 05 20:51:12 2001 +0000 +++ b/src/dialogs.c Tue Nov 06 04:40:21 2001 +0000 @@ -74,6 +74,7 @@ #include "pixmaps/free_icon.xpm" #include "pixmaps/dt_icon.xpm" #include "pixmaps/admin_icon.xpm" +#include "pixmaps/ab.xpm" #define DEFAULT_FONT_NAME "-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1" @@ -1650,6 +1651,8 @@ return dt_icon_xpm; if (!g_strcasecmp(url, "admin_icon.gif")) return admin_icon_xpm; + if (!g_strcasecmp(url, "ab_icon.gif")) + return ab_xpm; return NULL; } diff -r aa06a77990f1 -r 94aa499ecd39 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Mon Nov 05 20:51:12 2001 +0000 +++ b/src/protocols/oscar/oscar.c Tue Nov 06 04:40:21 2001 +0000 @@ -1545,7 +1545,8 @@ static char *images(int flags) { static char buf[1024]; - g_snprintf(buf, sizeof(buf), "%s%s%s%s", + g_snprintf(buf, sizeof(buf), "%s%s%s%s%s", + (flags & AIM_FLAG_ACTIVEBUDDY) ? "" : "", (flags & AIM_FLAG_UNCONFIRMED) ? "" : "", (flags & AIM_FLAG_AOL) ? "" : "", (flags & AIM_FLAG_ADMINISTRATOR) ? "" : "", @@ -2462,10 +2463,10 @@ return icon_offline_xpm; return icon_online_xpm; } - if (uc & UC_AB) - return (char **)ab_xpm; if (uc & UC_UNAVAILABLE) return (char **)away_icon_xpm; + if ((uc & UC_AB) && (uc & UC_NORMAL)) + return (char **)ab_xpm; if (uc & UC_AOL) return (char **)aol_icon_xpm; if (uc & UC_ADMIN)