comparison libpurple/protocols/qq/buddy_opt.c @ 21236:73c5f5bfeb39

disapproval of revision '4b2b98ecc70947f687d13c902b1b031247b49392'
author Richard Laager <rlaager@wiktel.com>
date Fri, 16 Nov 2007 23:27:01 +0000
parents fba1f6c3df0b
children 8ae227dca885
comparison
equal deleted inserted replaced
21235:fba1f6c3df0b 21236:73c5f5bfeb39
211 nombre = uid_to_purple_name(uid); 211 nombre = uid_to_purple_name(uid);
212 purple_request_input_with_hint(gc, _("Reject request"), msg1, msg2, 212 purple_request_input_with_hint(gc, _("Reject request"), msg1, msg2,
213 _("Sorry, you are not my type..."), TRUE, FALSE, 213 _("Sorry, you are not my type..."), TRUE, FALSE,
214 NULL, _("Reject"), G_CALLBACK(_qq_reject_add_request_real), _("Cancel"), NULL, 214 NULL, _("Reject"), G_CALLBACK(_qq_reject_add_request_real), _("Cancel"), NULL,
215 purple_connection_get_account(gc), nombre, NULL, 215 purple_connection_get_account(gc), nombre, NULL,
216 PURPLE_REQUEST_HINT_BUDDY, g2); 216 "buddy", g2);
217 g_free(nombre); 217 g_free(nombre);
218 } 218 }
219 219
220 void qq_add_buddy_with_gc_and_uid(gc_and_uid *g) 220 void qq_add_buddy_with_gc_and_uid(gc_and_uid *g)
221 { 221 {
408 TRUE, FALSE, NULL, _("Send"), 408 TRUE, FALSE, NULL, _("Send"),
409 G_CALLBACK 409 G_CALLBACK
410 (_qq_send_packet_add_buddy_auth_with_gc_and_uid), 410 (_qq_send_packet_add_buddy_auth_with_gc_and_uid),
411 _("Cancel"), G_CALLBACK(qq_do_nothing_with_gc_and_uid), 411 _("Cancel"), G_CALLBACK(qq_do_nothing_with_gc_and_uid),
412 purple_connection_get_account(gc), nombre, NULL, 412 purple_connection_get_account(gc), nombre, NULL,
413 PURPLE_REQUEST_HINT_BUDDY, g); 413 "buddy", g);
414 g_free(msg); 414 g_free(msg);
415 g_free(nombre); 415 g_free(nombre);
416 } else { /* add OK */ 416 } else { /* add OK */
417 qq_add_buddy_by_recv_packet(gc, for_uid, TRUE, TRUE); 417 qq_add_buddy_by_recv_packet(gc, for_uid, TRUE, TRUE);
418 msg = g_strdup_printf(_("You have added %d to buddy list"), for_uid); 418 msg = g_strdup_printf(_("You have added %d to buddy list"), for_uid);