comparison src/protocols/irc/irc.c @ 4732:c15e0699acae

[gaim-migrate @ 5047] hopefully this doesn't break anything. - Capabilities are back in the tooltips - Jabber does the neat status thing in the buddy list - jabber "broken" buddies are gone! woohoo! - most of the right-click menu items moved back to where they used to live, but Get Info remains at the top, because that's where it should be. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 13 Mar 2003 06:08:56 +0000
parents 283fb289c510
children c4c28874ecd3
comparison
equal deleted inserted replaced
4731:6f0ecc21db46 4732:c15e0699acae
591 x = strstr(id->str->str, tmp); 591 x = strstr(id->str->str, tmp);
592 l = x + strlen(b->name); 592 l = x + strlen(b->name);
593 if (x && (*l != ' ' && *l != 0)) 593 if (x && (*l != ' ' && *l != 0))
594 x = 0; 594 x = 0;
595 if (!b->present && x) 595 if (!b->present && x)
596 serv_got_update(gc, b->name, 1, 0, 0, 0, 0, 0); 596 serv_got_update(gc, b->name, 1, 0, 0, 0, 0);
597 else if (b->present && !x) 597 else if (b->present && !x)
598 serv_got_update(gc, b->name, 0, 0, 0, 0, 0, 0); 598 serv_got_update(gc, b->name, 0, 0, 0, 0, 0);
599 g_free(tmp); 599 g_free(tmp);
600 } 600 }
601 m = m->next; 601 m = m->next;
602 } 602 }
603 gr = gr->next; 603 gr = gr->next;
2760 { 2760 {
2761 GList *m = NULL; 2761 GList *m = NULL;
2762 struct proto_buddy_menu *pbm; 2762 struct proto_buddy_menu *pbm;
2763 2763
2764 pbm = g_new0(struct proto_buddy_menu, 1); 2764 pbm = g_new0(struct proto_buddy_menu, 1);
2765 pbm->label = _("Get Info");
2766 pbm->callback = irc_get_info;
2767 pbm->gc = gc;
2768 m = g_list_append(m, pbm);
2769
2770 pbm = g_new0(struct proto_buddy_menu, 1);
2771 pbm->label = _("DCC Chat"); 2765 pbm->label = _("DCC Chat");
2772 pbm->callback = irc_start_chat; 2766 pbm->callback = irc_start_chat;
2773 pbm->gc = gc; 2767 pbm->gc = gc;
2774 m = g_list_append(m, pbm); 2768 m = g_list_append(m, pbm);
2775 /* 2769 /*