Mercurial > pidgin
diff src/protocols/bonjour/bonjour.c @ 13906:b986b6e2441b
[gaim-migrate @ 16400]
part of sf patch #1490646, from Jonty Wareing & Jono Cole
"The user can now specify their AIM and Jabber ID in the
preferences"
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 02 Jul 2006 21:52:06 +0000 |
parents | cfc2f7fcb3dd |
children | 8264f52a1142 |
line wrap: on
line diff
--- a/src/protocols/bonjour/bonjour.c Sun Jul 02 09:37:25 2006 +0000 +++ b/src/protocols/bonjour/bonjour.c Sun Jul 02 21:52:06 2006 +0000 @@ -127,8 +127,8 @@ bd->dns_sd_data->phsh = g_strdup(""); bd->dns_sd_data->email = g_strdup(gaim_account_get_string(account, "email", "")); bd->dns_sd_data->vc = g_strdup(""); - bd->dns_sd_data->jid = g_strdup(""); - bd->dns_sd_data->AIM = g_strdup(""); + bd->dns_sd_data->jid = g_strdup(gaim_account_get_string(account, "jid", "")); + bd->dns_sd_data->AIM = g_strdup(gaim_account_get_string(account, "AIM", "")); status = gaim_account_get_active_status(account); presence = gaim_account_get_presence(account); @@ -588,6 +588,12 @@ option = gaim_account_option_string_new(_("E-mail"), "email", ""); prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); + option = gaim_account_option_string_new(_("AIM Account"), "AIM", ""); + prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); + + option = gaim_account_option_string_new(_("Jabber Account"), "jid", ""); + prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); + my_protocol = plugin; }