src/protocols/napster/napster.c

changeset 10723
9c5f277579c3
parent 10649
cd536d7aff51
child 10732
5e314ab498bf
equal deleted inserted replaced
10722:56fcc569d3b5 10723:9c5f277579c3
538 } 538 }
539 539
540 static void nap_list_emblems(GaimBuddy *b, const char **se, const char **sw, 540 static void nap_list_emblems(GaimBuddy *b, const char **se, const char **sw,
541 const char **nw, const char **ne) 541 const char **nw, const char **ne)
542 { 542 {
543 if (b->present == GAIM_BUDDY_OFFLINE) 543 if(!GAIM_BUDDY_IS_ONLINE(b))
544 *se = "offline"; 544 *se = "offline";
545 } 545 }
546 546
547 static GList *nap_status_types(GaimAccount *account) 547 static GList *nap_status_types(GaimAccount *account)
548 { 548 {
551 551
552 g_return_val_if_fail(account != NULL, NULL); 552 g_return_val_if_fail(account != NULL, NULL);
553 553
554 type = gaim_status_type_new_full(GAIM_STATUS_OFFLINE, 554 type = gaim_status_type_new_full(GAIM_STATUS_OFFLINE,
555 "offline", 555 "offline",
556 _("Offline"), FALSE, FALSE, FALSE); 556 _("Offline"), TRUE, TRUE, FALSE);
557 types = g_list_append(types, type); 557 types = g_list_append(types, type);
558 558
559 type = gaim_status_type_new_full(GAIM_STATUS_ONLINE, 559 type = gaim_status_type_new_full(GAIM_STATUS_ONLINE,
560 "online", 560 "online",
561 _("Online"), FALSE, FALSE, FALSE); 561 _("Online"), TRUE, TRUE, FALSE);
562 types = g_list_append(types, type); 562 types = g_list_append(types, type);
563 563
564 return types; 564 return types;
565 } 565 }
566 566

mercurial