changeset 30091:1f1d58d35746

revive unexpectedly removed options.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 07 Apr 2010 17:41:12 +0900
parents 49ffb40f3bcd
children 0869bfe2738f
files libpurple/protocols/yahoo/libyahoo.c libpurple/protocols/yahoo/libyahoojp.c
diffstat 2 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libyahoo.c	Sun Apr 04 14:22:45 2010 +0900
+++ b/libpurple/protocols/yahoo/libyahoo.c	Wed Apr 07 17:41:12 2010 +0900
@@ -329,9 +329,17 @@
 	option = purple_account_option_bool_new(_("Use account proxy for SSL connections"), "proxy_ssl", FALSE);
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
 
+#if 1
 	option = purple_account_option_string_new(_("Chat room list URL"), "room_list", YAHOO_ROOMLIST_URL);
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
 
+	option = purple_account_option_string_new(_("Yahoo Chat server"), "ycht-server", YAHOO_YCHT_HOST);
+	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
+
+	option = purple_account_option_int_new(_("Yahoo Chat port"), "ycht-port", YAHOO_YCHT_PORT);
+	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
+#endif
+
 	my_protocol = plugin;
 	yahoo_register_commands();
 	yahoo_init_colorht();
--- a/libpurple/protocols/yahoo/libyahoojp.c	Sun Apr 04 14:22:45 2010 +0900
+++ b/libpurple/protocols/yahoo/libyahoojp.c	Wed Apr 07 17:41:12 2010 +0900
@@ -225,9 +225,17 @@
 	option = purple_account_option_bool_new(_("Use account proxy for SSL connections"), "proxy_ssl", FALSE);
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
 
+#if 1
 	option = purple_account_option_string_new(_("Chat room list URL"), "room_list", YAHOOJP_ROOMLIST_URL);
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
 
+	option = purple_account_option_string_new(_("Yahoo Chat server"), "ycht-server", YAHOOJP_YCHT_HOST);
+	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
+
+	option = purple_account_option_int_new(_("Yahoo Chat port"), "ycht-port", YAHOOJP_YCHT_PORT);
+	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
+#endif
+
 	yahoojp_register_commands();
 	yahoo_init_colorht();
 }