comparison libpurple/protocols/myspace/myspace.c @ 18914:2b26ba483d87

Conditionally compile out a few advanced configuration options (status text and emoticon translation) to keep things simple.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Mon, 13 Aug 2007 00:43:11 +0000
parents 1d243e70db35
children bfc52862d864
comparison
equal deleted inserted replaced
18913:1d243e70db35 18914:2b26ba483d87
4029 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); 4029 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
4030 4030
4031 option = purple_account_option_int_new(_("Connect port"), "port", MSIM_PORT); 4031 option = purple_account_option_int_new(_("Connect port"), "port", MSIM_PORT);
4032 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); 4032 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
4033 4033
4034 #ifdef MSIM_USER_WANTS_TO_CONFIGURE_STATUS_TEXT
4034 option = purple_account_option_bool_new(_("Show display name in status text"), "show_display_name", TRUE); 4035 option = purple_account_option_bool_new(_("Show display name in status text"), "show_display_name", TRUE);
4035 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); 4036 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
4036 4037
4037 option = purple_account_option_bool_new(_("Show headline in status text"), "show_headline", TRUE); 4038 option = purple_account_option_bool_new(_("Show headline in status text"), "show_headline", TRUE);
4038 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); 4039 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
4039 4040 #endif
4041
4042 #ifdef MSIM_USER_WANTS_TO_DISABLE_EMOTICONS
4040 option = purple_account_option_bool_new(_("Send emoticons"), "emoticons", FALSE); 4043 option = purple_account_option_bool_new(_("Send emoticons"), "emoticons", FALSE);
4041 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); 4044 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
4045 #endif
4042 4046
4043 #ifdef MSIM_USER_REALLY_CARES_ABOUT_PRECISE_FONT_SIZES 4047 #ifdef MSIM_USER_REALLY_CARES_ABOUT_PRECISE_FONT_SIZES
4044 option = purple_account_option_int_new(_("Screen resolution (dots per inch)"), "dpi", MSIM_DEFAULT_DPI); 4048 option = purple_account_option_int_new(_("Screen resolution (dots per inch)"), "dpi", MSIM_DEFAULT_DPI);
4045 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); 4049 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
4046 4050