comparison libpurple/protocols/gg/gg.c @ 19870:5bdd02bda148

Added hints to gg.c
author Gabriel Schulhof <nix@go-nix.ca>
date Sun, 12 Aug 2007 16:31:55 +0000
parents ac7b380daa0a
children 6a0d9fa477d4
comparison
equal deleted inserted replaced
19869:768eb39c8834 19870:5bdd02bda148
334 PurpleConnection *gc = (PurpleConnection *)action->context; 334 PurpleConnection *gc = (PurpleConnection *)action->context;
335 335
336 purple_request_file(action, _("Save buddylist..."), NULL, TRUE, 336 purple_request_file(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 gc); 339 "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(action, "Load buddylist from file...", NULL, FALSE, 350 purple_request_file(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 gc); 353 "blist", gc);
354 } 354 }
355 /* }}} */ 355 /* }}} */
356 356
357 /* 357 /*
358 */ 358 */
499 _("Please, fill in the following fields"), 499 _("Please, fill in the following fields"),
500 fields, 500 fields,
501 _("OK"), G_CALLBACK(ggp_callback_register_account_ok), 501 _("OK"), G_CALLBACK(ggp_callback_register_account_ok),
502 _("Cancel"), G_CALLBACK(ggp_callback_register_account_cancel), 502 _("Cancel"), G_CALLBACK(ggp_callback_register_account_cancel),
503 purple_connection_get_account(gc), NULL, NULL, 503 purple_connection_get_account(gc), NULL, NULL,
504 gc); 504 "register-account", gc);
505 } 505 }
506 /* }}} */ 506 /* }}} */
507 507
508 /* ----- PUBLIC DIRECTORY SEARCH ---------------------------------------- */ 508 /* ----- PUBLIC DIRECTORY SEARCH ---------------------------------------- */
509 509
658 _("Please, enter your search criteria below"), 658 _("Please, enter your search criteria below"),
659 fields, 659 fields,
660 _("OK"), G_CALLBACK(ggp_callback_find_buddies), 660 _("OK"), G_CALLBACK(ggp_callback_find_buddies),
661 _("Cancel"), NULL, 661 _("Cancel"), NULL,
662 purple_connection_get_account(gc), NULL, NULL, 662 purple_connection_get_account(gc), NULL, NULL,
663 gc); 663 "blist", gc);
664 } 664 }
665 /* }}} */ 665 /* }}} */
666 666
667 /* ----- CHANGE PASSWORD ------------------------------------------------ */ 667 /* ----- CHANGE PASSWORD ------------------------------------------------ */
668 668
795 _("Change Gadu-Gadu Password"), 795 _("Change Gadu-Gadu Password"),
796 msg, 796 msg,
797 fields, _("OK"), G_CALLBACK(ggp_callback_change_passwd_ok), 797 fields, _("OK"), G_CALLBACK(ggp_callback_change_passwd_ok),
798 _("Cancel"), NULL, 798 _("Cancel"), NULL,
799 purple_connection_get_account(gc), NULL, NULL, 799 purple_connection_get_account(gc), NULL, NULL,
800 gc); 800 "account", gc);
801 801
802 g_free(msg); 802 g_free(msg);
803 } 803 }
804 /* }}} */ 804 /* }}} */
805 805
876 msg, 876 msg,
877 fields, 877 fields,
878 _("Add"), G_CALLBACK(ggp_callback_add_to_chat_ok), 878 _("Add"), G_CALLBACK(ggp_callback_add_to_chat_ok),
879 _("Cancel"), NULL, 879 _("Cancel"), NULL,
880 purple_connection_get_account(gc), NULL, NULL, 880 purple_connection_get_account(gc), NULL, NULL,
881 gc); 881 "buddy", gc);
882 g_free(msg); 882 g_free(msg);
883 } 883 }
884 /* }}} */ 884 /* }}} */
885 885
886 /* ----- BLOCK BUDDIES -------------------------------------------------- */ 886 /* ----- BLOCK BUDDIES -------------------------------------------------- */