comparison libpurple/protocols/gg/gg.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 6de09629f091 d4f95419be45 e747ac0c42d6
comparison
equal deleted inserted replaced
21243:6402252be3c8 21244:a20ef7180680
334 PurpleConnection *gc = (PurpleConnection *)action->context; 334 PurpleConnection *gc = (PurpleConnection *)action->context;
335 335
336 purple_request_file_with_hint(action, _("Save buddylist..."), NULL, TRUE, 336 purple_request_file_with_hint(action, _("Save buddylist..."), NULL, TRUE,
337 G_CALLBACK(ggp_callback_buddylist_save_ok), NULL, 337 G_CALLBACK(ggp_callback_buddylist_save_ok), NULL,
338 purple_connection_get_account(gc), NULL, NULL, 338 purple_connection_get_account(gc), NULL, NULL,
339 PURPLE_REQUEST_HINT_BLIST, gc); 339 PURPLE_REQUEST_UI_HINT_BLIST, gc);
340 } 340 }
341 /* }}} */ 341 /* }}} */
342 342
343 /* 343 /*
344 */ 344 */
348 PurpleConnection *gc = (PurpleConnection *)action->context; 348 PurpleConnection *gc = (PurpleConnection *)action->context;
349 349
350 purple_request_file_with_hint(action, "Load buddylist from file...", NULL, FALSE, 350 purple_request_file_with_hint(action, "Load buddylist from file...", NULL, FALSE,
351 G_CALLBACK(ggp_callback_buddylist_load_ok), NULL, 351 G_CALLBACK(ggp_callback_buddylist_load_ok), NULL,
352 purple_connection_get_account(gc), NULL, NULL, 352 purple_connection_get_account(gc), NULL, NULL,
353 PURPLE_REQUEST_HINT_BLIST, gc); 353 PURPLE_REQUEST_UI_HINT_BLIST, gc);
354 } 354 }
355 /* }}} */ 355 /* }}} */
356 356
357 /* 357 /*
358 */ 358 */
504 _("Please, fill in the following fields"), 504 _("Please, fill in the following fields"),
505 fields, 505 fields,
506 _("OK"), G_CALLBACK(ggp_callback_register_account_ok), 506 _("OK"), G_CALLBACK(ggp_callback_register_account_ok),
507 _("Cancel"), G_CALLBACK(ggp_callback_register_account_cancel), 507 _("Cancel"), G_CALLBACK(ggp_callback_register_account_cancel),
508 purple_connection_get_account(gc), NULL, NULL, 508 purple_connection_get_account(gc), NULL, NULL,
509 PURPLE_REQUEST_HINT_REGISTER, gc); 509 PURPLE_REQUEST_UI_HINT_REGISTER, gc);
510 } 510 }
511 /* }}} */ 511 /* }}} */
512 512
513 /* ----- PUBLIC DIRECTORY SEARCH ---------------------------------------- */ 513 /* ----- PUBLIC DIRECTORY SEARCH ---------------------------------------- */
514 514
663 _("Please, enter your search criteria below"), 663 _("Please, enter your search criteria below"),
664 fields, 664 fields,
665 _("OK"), G_CALLBACK(ggp_callback_find_buddies), 665 _("OK"), G_CALLBACK(ggp_callback_find_buddies),
666 _("Cancel"), NULL, 666 _("Cancel"), NULL,
667 purple_connection_get_account(gc), NULL, NULL, 667 purple_connection_get_account(gc), NULL, NULL,
668 PURPLE_REQUEST_HINT_BLIST, gc); 668 PURPLE_REQUEST_UI_HINT_BLIST, gc);
669 } 669 }
670 /* }}} */ 670 /* }}} */
671 671
672 /* ----- CHANGE PASSWORD ------------------------------------------------ */ 672 /* ----- CHANGE PASSWORD ------------------------------------------------ */
673 673
800 _("Change Gadu-Gadu Password"), 800 _("Change Gadu-Gadu Password"),
801 msg, 801 msg,
802 fields, _("OK"), G_CALLBACK(ggp_callback_change_passwd_ok), 802 fields, _("OK"), G_CALLBACK(ggp_callback_change_passwd_ok),
803 _("Cancel"), NULL, 803 _("Cancel"), NULL,
804 purple_connection_get_account(gc), NULL, NULL, 804 purple_connection_get_account(gc), NULL, NULL,
805 PURPLE_REQUEST_HINT_ACCOUNT, gc); 805 PURPLE_REQUEST_UI_HINT_ACCOUNT, gc);
806 806
807 g_free(msg); 807 g_free(msg);
808 } 808 }
809 /* }}} */ 809 /* }}} */
810 810
881 msg, 881 msg,
882 fields, 882 fields,
883 _("Add"), G_CALLBACK(ggp_callback_add_to_chat_ok), 883 _("Add"), G_CALLBACK(ggp_callback_add_to_chat_ok),
884 _("Cancel"), NULL, 884 _("Cancel"), NULL,
885 purple_connection_get_account(gc), NULL, NULL, 885 purple_connection_get_account(gc), NULL, NULL,
886 PURPLE_REQUEST_HINT_BUDDY, gc); 886 PURPLE_REQUEST_UI_HINT_BUDDY, gc);
887 g_free(msg); 887 g_free(msg);
888 } 888 }
889 /* }}} */ 889 /* }}} */
890 890
891 /* ----- BLOCK BUDDIES -------------------------------------------------- */ 891 /* ----- BLOCK BUDDIES -------------------------------------------------- */