libpurple/protocols/jabber/buddy.c

changeset 16490
68c22924d66b
parent 15884
4de1981757fc
child 16545
5188ffbaeb6e
equal deleted inserted replaced
16486:38aacc32c289 16490:68c22924d66b
584 _("All items below are optional. Enter only the " 584 _("All items below are optional. Enter only the "
585 "information with which you feel comfortable."), 585 "information with which you feel comfortable."),
586 fields, 586 fields,
587 _("Save"), G_CALLBACK(jabber_format_info), 587 _("Save"), G_CALLBACK(jabber_format_info),
588 _("Cancel"), NULL, 588 _("Cancel"), NULL,
589 purple_connection_get_account(gc), NULL, NULL,
589 gc); 590 gc);
590 } 591 }
591 592
592 /*---------------------------------------*/ 593 /*---------------------------------------*/
593 /* End Jabber "set info" (vCard) support */ 594 /* End Jabber "set info" (vCard) support */
1763 usi->directory_server = g_strdup(from); 1764 usi->directory_server = g_strdup(from);
1764 1765
1765 purple_request_fields(js->gc, _("Search for Jabber users"), 1766 purple_request_fields(js->gc, _("Search for Jabber users"),
1766 _("Search for Jabber users"), instructions, fields, 1767 _("Search for Jabber users"), instructions, fields,
1767 _("Search"), G_CALLBACK(user_search_cb), 1768 _("Search"), G_CALLBACK(user_search_cb),
1768 _("Cancel"), G_CALLBACK(user_search_cancel_cb), usi); 1769 _("Cancel"), G_CALLBACK(user_search_cancel_cb),
1770 NULL, NULL, NULL,
1771 usi);
1769 1772
1770 g_free(instructions); 1773 g_free(instructions);
1771 } 1774 }
1772 } 1775 }
1773 1776
1797 purple_request_input(gc, _("Enter a User Directory"), _("Enter a User Directory"), 1800 purple_request_input(gc, _("Enter a User Directory"), _("Enter a User Directory"),
1798 _("Select a user directory to search"), 1801 _("Select a user directory to search"),
1799 js->user_directories ? js->user_directories->data : "users.jabber.org", 1802 js->user_directories ? js->user_directories->data : "users.jabber.org",
1800 FALSE, FALSE, NULL, 1803 FALSE, FALSE, NULL,
1801 _("Search Directory"), PURPLE_CALLBACK(jabber_user_search_ok), 1804 _("Search Directory"), PURPLE_CALLBACK(jabber_user_search_ok),
1802 _("Cancel"), NULL, js); 1805 _("Cancel"), NULL,
1803 } 1806 NULL, NULL, NULL,
1804 1807 js);
1805 1808 }
1806 1809
1810
1811

mercurial