diff src/protocols/jabber/jabber.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 84bc372a621e
children a3a540ed2518
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Sat Jan 08 18:58:19 2005 +0000
+++ b/src/protocols/jabber/jabber.c	Sat Jan 08 20:30:41 2005 +0000
@@ -1501,27 +1501,6 @@
 	                  NULL);
 }
 
-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(_("Privacy"));
-	gaim_plugin_pref_frame_add(frame, ppref);
-
-	ppref = gaim_plugin_pref_new_with_name_and_label("/plugins/prpl/jabber/hide_os",
-													 _("Hide Operating System"));
-	gaim_plugin_pref_frame_add(frame, ppref);
-
-	return frame;
-}
-
-static GaimPluginUiInfo prefs_info = {
-	get_plugin_pref_frame
-};
-
 static GaimPluginProtocolInfo prpl_info =
 {
 	OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME,
@@ -1611,7 +1590,7 @@
 
 	NULL,                                             /**< ui_info        */
 	&prpl_info,                                       /**< extra_info     */
-	&prefs_info,                                      /**< prefs_info     */
+	NULL,                                             /**< prefs_info     */
 	jabber_actions
 };
 
@@ -1653,8 +1632,7 @@
 
 	my_protocol = plugin;
 
-	gaim_prefs_add_none("/plugins/prpl/jabber");
-	gaim_prefs_add_bool("/plugins/prpl/jabber/hide_os", FALSE);
+	gaim_prefs_remove("/plugins/prpl/jabber");
 
 	jabber_register_commands();
 }