Mercurial > pidgin.yaz
changeset 30425:d6f9f4320bf1
Add a pref for allowing direct connections.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Thu, 20 May 2010 22:54:26 +0000 |
parents | 9ada52ddf105 |
children | cbae3d450db8 fb103111bbd5 |
files | libpurple/protocols/msn/msn.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c Thu May 20 21:11:34 2010 +0000 +++ b/libpurple/protocols/msn/msn.c Thu May 20 22:54:26 2010 +0000 @@ -2936,6 +2936,11 @@ prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); + option = purple_account_option_bool_new(_("Allow direct connections"), + "direct_connect", TRUE); + prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, + option); + purple_cmd_register("nudge", "", PURPLE_CMD_P_PRPL, PURPLE_CMD_FLAG_IM | PURPLE_CMD_FLAG_PRPL_ONLY, "prpl-msn", msn_cmd_nudge,