| 9029:4670ebf1c180 | 9030:7b574a641391 |
|---|---|
| 19 */ | 19 */ |
| 20 #include "internal.h" | 20 #include "internal.h" |
| 21 | 21 |
| 22 #include "account.h" | 22 #include "account.h" |
| 23 #include "accountopt.h" | 23 #include "accountopt.h" |
| 24 #include "blist.h" | |
| 24 #include "conversation.h" | 25 #include "conversation.h" |
| 25 #include "debug.h" | 26 #include "debug.h" |
| 26 #include "multi.h" | 27 #include "multi.h" |
| 27 #include "notify.h" | 28 #include "notify.h" |
| 28 #include "prpl.h" | 29 #include "prpl.h" |
| 530 { | 531 { |
| 531 if (b->present == GAIM_BUDDY_OFFLINE) | 532 if (b->present == GAIM_BUDDY_OFFLINE) |
| 532 *se = "offline"; | 533 *se = "offline"; |
| 533 } | 534 } |
| 534 | 535 |
| 535 static GList *nap_buddy_menu(GaimConnection *gc, const char *who) | |
| 536 { | |
| 537 GList *m = NULL; | |
| 538 struct proto_buddy_menu *pbm; | |
| 539 | |
| 540 pbm = g_new0(struct proto_buddy_menu, 1); | |
| 541 pbm->label = _("Get Info"); | |
| 542 pbm->callback = nap_get_info; | |
| 543 pbm->gc = gc; | |
| 544 m = g_list_append(m, pbm); | |
| 545 | |
| 546 return m; | |
| 547 } | |
| 548 | |
| 549 static GList *nap_chat_info(GaimConnection *gc) | 536 static GList *nap_chat_info(GaimConnection *gc) |
| 550 { | 537 { |
| 551 GList *m = NULL; | 538 GList *m = NULL; |
| 552 struct proto_chat_entry *pce; | 539 struct proto_chat_entry *pce; |
| 553 | 540 |
| 570 nap_list_icon, | 557 nap_list_icon, |
| 571 nap_list_emblems, | 558 nap_list_emblems, |
| 572 NULL, | 559 NULL, |
| 573 NULL, | 560 NULL, |
| 574 NULL, | 561 NULL, |
| 575 nap_buddy_menu, | 562 NULL, |
| 576 nap_chat_info, | 563 nap_chat_info, |
| 577 nap_login, | 564 nap_login, |
| 578 nap_close, | 565 nap_close, |
| 579 nap_send_im, | 566 nap_send_im, |
| 580 NULL, | 567 NULL, |
| 597 NULL, /* reject chat invite */ | 584 NULL, /* reject chat invite */ |
| 598 NULL, | 585 NULL, |
| 599 nap_chat_leave, | 586 nap_chat_leave, |
| 600 NULL, | 587 NULL, |
| 601 nap_chat_send, | 588 nap_chat_send, |
| 602 NULL, | |
| 603 NULL, | 589 NULL, |
| 604 NULL, | 590 NULL, |
| 605 NULL, | 591 NULL, |
| 606 NULL, | 592 NULL, |
| 607 NULL, | 593 NULL, |