Mercurial > pidgin
changeset 10723:a9c77f7b8ced
[gaim-migrate @ 12323]
some napster stuff from grim.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 25 Mar 2005 13:11:08 +0000 |
parents | a14b82fc3a95 |
children | 811f12c8a5e4 |
files | src/protocols/napster/napster.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/napster/napster.c Thu Mar 24 23:12:54 2005 +0000 +++ b/src/protocols/napster/napster.c Fri Mar 25 13:11:08 2005 +0000 @@ -540,7 +540,7 @@ static void nap_list_emblems(GaimBuddy *b, const char **se, const char **sw, const char **nw, const char **ne) { - if (b->present == GAIM_BUDDY_OFFLINE) + if(!GAIM_BUDDY_IS_ONLINE(b)) *se = "offline"; } @@ -553,12 +553,12 @@ type = gaim_status_type_new_full(GAIM_STATUS_OFFLINE, "offline", - _("Offline"), FALSE, FALSE, FALSE); + _("Offline"), TRUE, TRUE, FALSE); types = g_list_append(types, type); type = gaim_status_type_new_full(GAIM_STATUS_ONLINE, "online", - _("Online"), FALSE, FALSE, FALSE); + _("Online"), TRUE, TRUE, FALSE); types = g_list_append(types, type); return types;