changeset 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 84ec38c3efcc
children 90ed519c6645
files src/protocols/msn/msn.c
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);