# HG changeset patch # User Christian Hammond # Date 1077178577 0 # Node ID 288fb60344f80bba20306d6ef96c012f8985be4f # Parent 84ec38c3efcc7ebf0d3ee100ab04563818c37921 [gaim-migrate @ 9015] Added MSN protocol prefs. committer: Tailor Script diff -r 84ec38c3efcc -r 288fb60344f8 src/protocols/msn/msn.c --- a/src/protocols/msn/msn.c Thu Feb 19 08:06:23 2004 +0000 +++ b/src/protocols/msn/msn.c Thu Feb 19 08:16:17 2004 +0000 @@ -1656,6 +1656,7 @@ init_plugin(GaimPlugin *plugin) { GaimAccountOption *option; + struct proto_pref *ppref; option = gaim_account_option_string_new(_("Login server"), "server", MSN_SERVER); @@ -1678,6 +1679,21 @@ gaim_prefs_add_none("/plugins/prpl/msn"); gaim_prefs_add_bool("/plugins/prpl/msn/conv_close_notice", TRUE); gaim_prefs_add_bool("/plugins/prpl/msn/conv_timeout_notice", TRUE); + + ppref = g_new0(struct proto_pref, 1); + ppref->key = NULL; + ppref->label = _("Conversations"); + prpl_info.protocol_prefs = g_list_append(prpl_info.protocol_prefs, ppref); + + ppref = g_new0(struct proto_pref, 1); + ppref->key = "/plugins/prpl/msn/conv_close_notice"; + ppref->label = _("Display conversation closed notices"); + prpl_info.protocol_prefs = g_list_append(prpl_info.protocol_prefs, ppref); + + ppref = g_new0(struct proto_pref, 1); + ppref->key = "/plugins/prpl/msn/conv_timeout_notice"; + ppref->label = _("Display timeout notices"); + prpl_info.protocol_prefs = g_list_append(prpl_info.protocol_prefs, ppref); } GAIM_INIT_PLUGIN(msn, init_plugin, info);