Mercurial > pidgin
comparison src/protocols/msn/notification.c @ 5498:cce2d7868c78
[gaim-migrate @ 5894]
Bye bye do_ask_dialog()! Mwahahahahhaha!
And wit -> with. What wit with the witty with wit comment, wit you jutht
thaw.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 23 May 2003 02:42:52 +0000 |
parents | 175de59cd1c5 |
children | 4f72b611f0ee |
comparison
equal
deleted
inserted
replaced
5497:3c7748b24410 | 5498:cce2d7868c78 |
---|---|
438 | 438 |
439 g_snprintf(msg, sizeof(msg), | 439 g_snprintf(msg, sizeof(msg), |
440 _("The user %s (%s) wants to add %s to his or her buddy list."), | 440 _("The user %s (%s) wants to add %s to his or her buddy list."), |
441 passport, friend, gc->username); | 441 passport, friend, gc->username); |
442 | 442 |
443 do_ask_dialog(msg, NULL, pa, | 443 gaim_request_action(gc, NULL, msg, NULL, 0, pa, 2, |
444 _("Authorize"), msn_accept_add_cb, | 444 _("Authorize"), G_CALLBACK(msn_accept_add_cb), |
445 _("Deny"), msn_cancel_add_cb, | 445 _("Deny"), G_CALLBACK(msn_cancel_add_cb)); |
446 session->prpl->handle, FALSE); | |
447 | 446 |
448 return TRUE; | 447 return TRUE; |
449 } | 448 } |
450 | 449 |
451 static gboolean | 450 static gboolean |
713 _("The user %s (%s) wants to add you to their " | 712 _("The user %s (%s) wants to add you to their " |
714 "buddy list."), | 713 "buddy list."), |
715 msn_user_get_passport(pa->user), | 714 msn_user_get_passport(pa->user), |
716 msn_user_get_name(pa->user)); | 715 msn_user_get_name(pa->user)); |
717 | 716 |
718 do_ask_dialog(msg, NULL, pa, | 717 gaim_request_action(gc, NULL, msg, NULL, 0, pa, 2, |
719 _("Authorize"), msn_accept_add_cb, | 718 _("Authorize"), |
720 _("Deny"), msn_cancel_add_cb, | 719 G_CALLBACK(msn_accept_add_cb), |
721 session->prpl->handle, FALSE); | 720 _("Deny"), |
721 G_CALLBACK(msn_cancel_add_cb)); | |
722 } | 722 } |
723 } | 723 } |
724 | 724 |
725 if (user_num != num_users) | 725 if (user_num != num_users) |
726 return TRUE; /* This isn't the last one in the RL. */ | 726 return TRUE; /* This isn't the last one in the RL. */ |