# HG changeset patch # User Luke Schierer # Date 1111756268 0 # Node ID a9c77f7b8cedeb588fff348f45c8ebb8d1a591ac # Parent a14b82fc3a957d18851fc72bcc897e3ff48d7e8d [gaim-migrate @ 12323] some napster stuff from grim. committer: Tailor Script diff -r a14b82fc3a95 -r a9c77f7b8ced src/protocols/napster/napster.c --- 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;