Mercurial > pidgin
comparison src/protocols/oscar/oscar.c @ 3456:b48065e52337
[gaim-migrate @ 3503]
A few patches. Brian--tell me what your last name is, and I'll put it in. ;)
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 28 Aug 2002 02:38:19 +0000 |
parents | 736951485ac6 |
children | 66b1ad9782a9 |
comparison
equal
deleted
inserted
replaced
3455:8de4f34a1bd7 | 3456:b48065e52337 |
---|---|
3700 g_free(n); | 3700 g_free(n); |
3701 | 3701 |
3702 return m; | 3702 return m; |
3703 } | 3703 } |
3704 | 3704 |
3705 static GList *oscar_edit_buddy_menu(struct gaim_connection *gc, char *who) | |
3706 { | |
3707 GList *m = NULL; | |
3708 struct proto_buddy_menu *pbm; | |
3709 struct oscar_data *odata = gc->proto_data; | |
3710 | |
3711 if (odata->icq) { | |
3712 pbm = g_new0(struct proto_buddy_menu, 1); | |
3713 pbm->label = _("Get Info"); | |
3714 pbm->callback = oscar_get_info; | |
3715 pbm->gc = gc; | |
3716 m = g_list_append(m, pbm); | |
3717 } | |
3718 | |
3719 return m; | |
3720 } | |
3721 | |
3705 static GList *oscar_user_opts() | 3722 static GList *oscar_user_opts() |
3706 { | 3723 { |
3707 GList *m = NULL; | 3724 GList *m = NULL; |
3708 struct proto_user_opt *puo; | 3725 struct proto_user_opt *puo; |
3709 | 3726 |
3948 ret->list_icon = oscar_list_icon; | 3965 ret->list_icon = oscar_list_icon; |
3949 ret->away_states = oscar_away_states; | 3966 ret->away_states = oscar_away_states; |
3950 ret->actions = oscar_actions; | 3967 ret->actions = oscar_actions; |
3951 ret->do_action = oscar_do_action; | 3968 ret->do_action = oscar_do_action; |
3952 ret->buddy_menu = oscar_buddy_menu; | 3969 ret->buddy_menu = oscar_buddy_menu; |
3970 ret->edit_buddy_menu = oscar_edit_buddy_menu; | |
3953 ret->user_opts = oscar_user_opts; | 3971 ret->user_opts = oscar_user_opts; |
3954 ret->login = oscar_login; | 3972 ret->login = oscar_login; |
3955 ret->close = oscar_close; | 3973 ret->close = oscar_close; |
3956 ret->send_im = oscar_send_im; | 3974 ret->send_im = oscar_send_im; |
3957 ret->send_typing = oscar_send_typing; | 3975 ret->send_typing = oscar_send_typing; |