Mercurial > pidgin.yaz
comparison src/protocols/msn/msn.c @ 8291:288fb60344f8
[gaim-migrate @ 9015]
Added MSN protocol prefs.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 19 Feb 2004 08:16:17 +0000 |
parents | aa44049e8891 |
children | c719f9a181d4 |
comparison
equal
deleted
inserted
replaced
8290:84ec38c3efcc | 8291:288fb60344f8 |
---|---|
1654 | 1654 |
1655 static void | 1655 static void |
1656 init_plugin(GaimPlugin *plugin) | 1656 init_plugin(GaimPlugin *plugin) |
1657 { | 1657 { |
1658 GaimAccountOption *option; | 1658 GaimAccountOption *option; |
1659 struct proto_pref *ppref; | |
1659 | 1660 |
1660 option = gaim_account_option_string_new(_("Login server"), "server", | 1661 option = gaim_account_option_string_new(_("Login server"), "server", |
1661 MSN_SERVER); | 1662 MSN_SERVER); |
1662 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, | 1663 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, |
1663 option); | 1664 option); |
1676 my_protocol = plugin; | 1677 my_protocol = plugin; |
1677 | 1678 |
1678 gaim_prefs_add_none("/plugins/prpl/msn"); | 1679 gaim_prefs_add_none("/plugins/prpl/msn"); |
1679 gaim_prefs_add_bool("/plugins/prpl/msn/conv_close_notice", TRUE); | 1680 gaim_prefs_add_bool("/plugins/prpl/msn/conv_close_notice", TRUE); |
1680 gaim_prefs_add_bool("/plugins/prpl/msn/conv_timeout_notice", TRUE); | 1681 gaim_prefs_add_bool("/plugins/prpl/msn/conv_timeout_notice", TRUE); |
1682 | |
1683 ppref = g_new0(struct proto_pref, 1); | |
1684 ppref->key = NULL; | |
1685 ppref->label = _("Conversations"); | |
1686 prpl_info.protocol_prefs = g_list_append(prpl_info.protocol_prefs, ppref); | |
1687 | |
1688 ppref = g_new0(struct proto_pref, 1); | |
1689 ppref->key = "/plugins/prpl/msn/conv_close_notice"; | |
1690 ppref->label = _("Display conversation closed notices"); | |
1691 prpl_info.protocol_prefs = g_list_append(prpl_info.protocol_prefs, ppref); | |
1692 | |
1693 ppref = g_new0(struct proto_pref, 1); | |
1694 ppref->key = "/plugins/prpl/msn/conv_timeout_notice"; | |
1695 ppref->label = _("Display timeout notices"); | |
1696 prpl_info.protocol_prefs = g_list_append(prpl_info.protocol_prefs, ppref); | |
1681 } | 1697 } |
1682 | 1698 |
1683 GAIM_INIT_PLUGIN(msn, init_plugin, info); | 1699 GAIM_INIT_PLUGIN(msn, init_plugin, info); |