diff src/protocols/msn/msn.c @ 10487:659edfcac14e

[gaim-migrate @ 11777] Removed protocol preferences. MSN will display closed conversation messages but not timeouts. Jabber will not display your OS. I left the preferences for OSCAR, but removed them from the UI. OSCAR is complicated because it stores prefs on the server. I'll let Mark figure out a smarter way to handle that. As with all slashed prefs, feel free to voice objections. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 08 Jan 2005 20:30:41 +0000
parents bcfea6c3d5c9
children 1a97d5e88d12
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Sat Jan 08 18:58:19 2005 +0000
+++ b/src/protocols/msn/msn.c	Sat Jan 08 20:30:41 2005 +0000
@@ -1775,34 +1775,6 @@
 	return TRUE;
 }
 
-static GaimPluginPrefFrame *
-get_plugin_pref_frame(GaimPlugin *plugin)
-{
-	GaimPluginPrefFrame *frame;
-	GaimPluginPref *ppref;
-
-	frame = gaim_plugin_pref_frame_new();
-
-	ppref = gaim_plugin_pref_new_with_label(_("Conversations"));
-	gaim_plugin_pref_frame_add(frame, ppref);
-
-	ppref = gaim_plugin_pref_new_with_name_and_label(
-								"/plugins/prpl/msn/conv_close_notice",
-								_("Display conversation closed notices"));
-	gaim_plugin_pref_frame_add(frame, ppref);
-
-	ppref = gaim_plugin_pref_new_with_name_and_label(
-								"/plugins/prpl/msn/conv_timeout_notice",
-								_("Display timeout notices"));
-	gaim_plugin_pref_frame_add(frame, ppref);
-
-	return frame;
-}
-
-static GaimPluginUiInfo prefs_info = {
-	get_plugin_pref_frame
-};
-
 static GaimPluginProtocolInfo prpl_info =
 {
 	OPT_PROTO_MAIL_CHECK,
@@ -1892,7 +1864,7 @@
 
 	NULL,                                             /**< ui_info        */
 	&prpl_info,                                       /**< extra_info     */
-	&prefs_info,                                      /**< prefs_info     */
+	NULL,                                             /**< prefs_info     */
 	msn_actions
 };
 
@@ -1915,9 +1887,7 @@
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options,
 											   option);
 
-	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);
+	gaim_prefs_remove("/plugins/prpl/msn");
 }
 
 GAIM_INIT_PLUGIN(msn, init_plugin, info);