comparison libpurple/protocols/qq/sys_msg.c @ 24020:2f5a7edd8f68

2008.09.02 - ccpaging <ccpaging(at)gmail.com> * Bugfix: can not send message to the QUN blocked adding * Tickets: Fixes #6957 Fixes #6990 2008.09.02 - ccpaging <ccpaging(at)gmail.com> * Use new tactics of information update: 1. send next package till the previous package received 2. fix duplicated get_room_info and get_room_buddies command
author SHiNE CsyFeK <csyfek@gmail.com>
date Thu, 11 Sep 2008 13:29:26 +0000
parents 147ada94a1d8
children 1a0caf9983fa 6408be948d56
comparison
equal deleted inserted replaced
24019:147ada94a1d8 24020:2f5a7edd8f68
82 82
83 qq_send_packet_get_info(gc, uid, TRUE); /* we want to see window */ 83 qq_send_packet_get_info(gc, uid, TRUE); /* we want to see window */
84 84
85 nombre = uid_to_purple_name(uid); 85 nombre = uid_to_purple_name(uid);
86 purple_request_action 86 purple_request_action
87 (gc, NULL, _("Do you want to approve the request?"), "", 87 (gc, NULL, _("Do you approve the requestion?"), "",
88 PURPLE_DEFAULT_ACTION_NONE, 88 PURPLE_DEFAULT_ACTION_NONE,
89 purple_connection_get_account(gc), nombre, NULL, 89 purple_connection_get_account(gc), nombre, NULL,
90 g, 2, 90 g, 2,
91 _("Reject"), G_CALLBACK(qq_reject_add_request_with_gc_and_uid), 91 _("Reject"), G_CALLBACK(qq_reject_add_request_with_gc_and_uid),
92 _("Approve"), G_CALLBACK(qq_approve_add_request_with_gc_and_uid)); 92 _("Approve"), G_CALLBACK(qq_approve_add_request_with_gc_and_uid));
106 g_return_if_fail(gc != 0 && uid != 0); 106 g_return_if_fail(gc != 0 && uid != 0);
107 107
108 qq_send_packet_get_info(gc, uid, TRUE); /* we want to see window */ 108 qq_send_packet_get_info(gc, uid, TRUE); /* we want to see window */
109 nombre = uid_to_purple_name(uid); 109 nombre = uid_to_purple_name(uid);
110 purple_request_action 110 purple_request_action
111 (gc, NULL, _("Do you want to add this buddy?"), "", 111 (gc, NULL, _("Do you add the buddy?"), "",
112 PURPLE_DEFAULT_ACTION_NONE, 112 PURPLE_DEFAULT_ACTION_NONE,
113 purple_connection_get_account(gc), nombre, NULL, 113 purple_connection_get_account(gc), nombre, NULL,
114 g, 2, 114 g, 2,
115 _("Cancel"), NULL, 115 _("Cancel"), NULL,
116 _("Add"), G_CALLBACK(qq_add_buddy_with_gc_and_uid)); 116 _("Add"), G_CALLBACK(qq_add_buddy_with_gc_and_uid));