Mercurial > pidgin
comparison src/protocols/msn/userlist.c @ 9976:f4ff7d2b9b2c
[gaim-migrate @ 10887]
Dave West fixed a few things from his patch to remove the
default action for certain dialogs that pop-up
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 08 Sep 2004 03:59:17 +0000 |
parents | b13013595c08 |
children | 86a6d78b070b |
comparison
equal
deleted
inserted
replaced
9975:c66345b33b88 | 9976:f4ff7d2b9b2c |
---|---|
68 g_free(pa->who); | 68 g_free(pa->who); |
69 g_free(pa); | 69 g_free(pa); |
70 } | 70 } |
71 | 71 |
72 static void | 72 static void |
73 got_new_entry(GaimConnection *gc, const char *passport, | 73 got_new_entry(GaimConnection *gc, const char *passport, const char *friendly) |
74 const char *friendly) | |
75 { | 74 { |
76 MsnPermitAdd *pa; | 75 MsnPermitAdd *pa; |
77 char *msg; | 76 char *msg; |
78 | 77 |
79 pa = g_new0(MsnPermitAdd, 1); | 78 pa = g_new0(MsnPermitAdd, 1); |
94 _("The user %s wants to add %s to his or " | 93 _("The user %s wants to add %s to his or " |
95 "her buddy list."), | 94 "her buddy list."), |
96 passport, gaim_account_get_username(gc->account)); | 95 passport, gaim_account_get_username(gc->account)); |
97 } | 96 } |
98 | 97 |
99 gaim_request_action(gc, NULL, msg, NULL, | 98 gaim_request_action(gc, NULL, msg, NULL, |
100 GAIM_DEFAULT_ACTION_NONE, pa, 2, | 99 GAIM_DEFAULT_ACTION_NONE, pa, 2, |
101 _("Authorize"), G_CALLBACK(msn_accept_add_cb), | 100 _("Authorize"), G_CALLBACK(msn_accept_add_cb), |
102 _("Deny"), G_CALLBACK(msn_cancel_add_cb)); | 101 _("Deny"), G_CALLBACK(msn_cancel_add_cb)); |
103 | 102 |
104 g_free(msg); | 103 g_free(msg); |