comparison libpurple/protocols/qq/buddy_opt.c @ 21244:a20ef7180680

Re-namespace the #defines to all be PURPLE_REQUEST_UI_HINT_*. I see no reason that the common UI ones need to be in a different namespace from the ones used by libpurple.
author Richard Laager <rlaager@wiktel.com>
date Sun, 14 Oct 2007 20:53:40 +0000
parents fba1f6c3df0b
children d4f95419be45 dccfd999ffe7
comparison
equal deleted inserted replaced
21243:6402252be3c8 21244:a20ef7180680
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 PURPLE_REQUEST_UI_HINT_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 PURPLE_REQUEST_UI_HINT_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);