libpurple/protocols/myspace/myspace.c

branch
soc.2013.gobjectification.plugins
changeset 37038
8832d14d7d0c
parent 37004
c8dce7bef0e6
child 37101
8ba9a23354ff
equal deleted inserted replaced
37037:c391f5d677e4 37038:8832d14d7d0c
3408 /* TODO: eventually should add icon_spec */ 3408 /* TODO: eventually should add icon_spec */
3409 3409
3410 /* TODO: default to automatically try different ports. Make the user be 3410 /* TODO: default to automatically try different ports. Make the user be
3411 * able to set the first port to try (like LastConnectedPort in Windows client). */ 3411 * able to set the first port to try (like LastConnectedPort in Windows client). */
3412 option = purple_account_option_string_new(_("Connect server"), "server", MSIM_SERVER); 3412 option = purple_account_option_string_new(_("Connect server"), "server", MSIM_SERVER);
3413 protocol->protocol_options = g_list_append(protocol->protocol_options, option); 3413 protocol->account_options = g_list_append(protocol->account_options, option);
3414 3414
3415 option = purple_account_option_int_new(_("Connect port"), "port", MSIM_PORT); 3415 option = purple_account_option_int_new(_("Connect port"), "port", MSIM_PORT);
3416 protocol->protocol_options = g_list_append(protocol->protocol_options, option); 3416 protocol->account_options = g_list_append(protocol->account_options, option);
3417 3417
3418 #ifdef MSIM_USER_WANTS_TO_CONFIGURE_STATUS_TEXT 3418 #ifdef MSIM_USER_WANTS_TO_CONFIGURE_STATUS_TEXT
3419 option = purple_account_option_bool_new(_("Show display name in status text"), "show_display_name", TRUE); 3419 option = purple_account_option_bool_new(_("Show display name in status text"), "show_display_name", TRUE);
3420 protocol->protocol_options = g_list_append(protocol->protocol_options, option); 3420 protocol->account_options = g_list_append(protocol->account_options, option);
3421 3421
3422 option = purple_account_option_bool_new(_("Show headline in status text"), "show_headline", TRUE); 3422 option = purple_account_option_bool_new(_("Show headline in status text"), "show_headline", TRUE);
3423 protocol->protocol_options = g_list_append(protocol->protocol_options, option); 3423 protocol->account_options = g_list_append(protocol->account_options, option);
3424 #endif 3424 #endif
3425 3425
3426 #ifdef MSIM_USER_WANTS_TO_DISABLE_EMOTICONS 3426 #ifdef MSIM_USER_WANTS_TO_DISABLE_EMOTICONS
3427 option = purple_account_option_bool_new(_("Send emoticons"), "emoticons", TRUE); 3427 option = purple_account_option_bool_new(_("Send emoticons"), "emoticons", TRUE);
3428 protocol->protocol_options = g_list_append(protocol->protocol_options, option); 3428 protocol->account_options = g_list_append(protocol->account_options, option);
3429 #endif 3429 #endif
3430 3430
3431 #ifdef MSIM_USER_REALLY_CARES_ABOUT_PRECISE_FONT_SIZES 3431 #ifdef MSIM_USER_REALLY_CARES_ABOUT_PRECISE_FONT_SIZES
3432 option = purple_account_option_int_new(_("Screen resolution (dots per inch)"), "dpi", MSIM_DEFAULT_DPI); 3432 option = purple_account_option_int_new(_("Screen resolution (dots per inch)"), "dpi", MSIM_DEFAULT_DPI);
3433 protocol->protocol_options = g_list_append(protocol->protocol_options, option); 3433 protocol->account_options = g_list_append(protocol->account_options, option);
3434 3434
3435 option = purple_account_option_int_new(_("Base font size (points)"), "base_font_size", MSIM_BASE_FONT_POINT_SIZE); 3435 option = purple_account_option_int_new(_("Base font size (points)"), "base_font_size", MSIM_BASE_FONT_POINT_SIZE);
3436 protocol->protocol_options = g_list_append(protocol->protocol_options, option); 3436 protocol->account_options = g_list_append(protocol->account_options, option);
3437 #endif 3437 #endif
3438 } 3438 }
3439 3439
3440 /** 3440 /**
3441 * Protocol class and interfaces initialization. 3441 * Protocol class and interfaces initialization.

mercurial