Conditionally compile out a few advanced configuration options (status text soc.2007.msimprpl

Mon, 13 Aug 2007 00:43:11 +0000

author
Jeff Connelly <jeff2@soc.pidgin.im>
date
Mon, 13 Aug 2007 00:43:11 +0000
branch
soc.2007.msimprpl
changeset 19168
e5a076b03a7a
parent 19167
4ec67fc6d814
child 19169
d48efc7ada4e

Conditionally compile out a few advanced configuration options (status text
and emoticon translation) to keep things simple.

libpurple/protocols/myspace/myspace.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/myspace/myspace.c	Mon Aug 13 00:38:43 2007 +0000
+++ b/libpurple/protocols/myspace/myspace.c	Mon Aug 13 00:43:11 2007 +0000
@@ -4031,14 +4031,18 @@
 	option = purple_account_option_int_new(_("Connect port"), "port", MSIM_PORT);
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
 
+#ifdef MSIM_USER_WANTS_TO_CONFIGURE_STATUS_TEXT
 	option = purple_account_option_bool_new(_("Show display name in status text"), "show_display_name", TRUE);
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
 
 	option = purple_account_option_bool_new(_("Show headline in status text"), "show_headline", TRUE);
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
-
+#endif
+
+#ifdef MSIM_USER_WANTS_TO_DISABLE_EMOTICONS
 	option = purple_account_option_bool_new(_("Send emoticons"), "emoticons", FALSE);
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
+#endif
 
 #ifdef MSIM_USER_REALLY_CARES_ABOUT_PRECISE_FONT_SIZES
 	option = purple_account_option_int_new(_("Screen resolution (dots per inch)"), "dpi", MSIM_DEFAULT_DPI);

mercurial