comparison src/protocols/yahoo/yahoo.c @ 11803:b4602ccb4e69

[gaim-migrate @ 14094] sf patch #1336293, from Sadrul Habib Chowdhury Fix saving/restoring Yahoo! accounts in the away state. See the patch description for details committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 24 Oct 2005 23:13:50 +0000
parents 81806e9241be
children fa742ad8068c
comparison
equal deleted inserted replaced
11802:2e3a6dcebaf3 11803:b4602ccb4e69
3217 "Available With Message", TRUE, TRUE, FALSE, 3217 "Available With Message", TRUE, TRUE, FALSE,
3218 "message", _("Message"), 3218 "message", _("Message"),
3219 gaim_value_new(GAIM_TYPE_STRING), NULL); 3219 gaim_value_new(GAIM_TYPE_STRING), NULL);
3220 types = g_list_append(types, type); 3220 types = g_list_append(types, type);
3221 3221
3222 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_BRB, _("Be Right Back"), TRUE);
3223 types = g_list_append(types, type);
3224
3225 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_BUSY, _("Busy"), TRUE);
3226 types = g_list_append(types, type);
3227
3228 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTATHOME, _("Not At Home"), TRUE);
3229 types = g_list_append(types, type);
3230
3231 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTATDESK, _("Not At Desk"), TRUE);
3232 types = g_list_append(types, type);
3233
3234 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTINOFFICE, _("Not In Office"), TRUE);
3235 types = g_list_append(types, type);
3236
3237 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_ONPHONE, _("On The Phone"), TRUE);
3238 types = g_list_append(types, type);
3239
3240 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_ONVACATION, _("On Vacation"), TRUE);
3241 types = g_list_append(types, type);
3242
3243 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_OUTTOLUNCH, _("Out To Lunch"), TRUE);
3244 types = g_list_append(types, type);
3245
3246 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_STEPPEDOUT, _("Stepped Out"), TRUE);
3247 types = g_list_append(types, type);
3248
3249 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_AWAY, 3222 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_AWAY,
3250 _("Away"), TRUE, TRUE, FALSE, 3223 _("Away"), TRUE, TRUE, FALSE,
3251 "message", _("Message"), 3224 "message", _("Message"),
3252 gaim_value_new(GAIM_TYPE_STRING), NULL); 3225 gaim_value_new(GAIM_TYPE_STRING), NULL);
3226 types = g_list_append(types, type);
3227
3228 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_BRB, _("Be Right Back"), TRUE);
3229 types = g_list_append(types, type);
3230
3231 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_BUSY, _("Busy"), TRUE);
3232 types = g_list_append(types, type);
3233
3234 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTATHOME, _("Not At Home"), TRUE);
3235 types = g_list_append(types, type);
3236
3237 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTATDESK, _("Not At Desk"), TRUE);
3238 types = g_list_append(types, type);
3239
3240 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTINOFFICE, _("Not In Office"), TRUE);
3241 types = g_list_append(types, type);
3242
3243 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_ONPHONE, _("On The Phone"), TRUE);
3244 types = g_list_append(types, type);
3245
3246 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_ONVACATION, _("On Vacation"), TRUE);
3247 types = g_list_append(types, type);
3248
3249 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_OUTTOLUNCH, _("Out To Lunch"), TRUE);
3250 types = g_list_append(types, type);
3251
3252 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_STEPPEDOUT, _("Stepped Out"), TRUE);
3253 types = g_list_append(types, type); 3253 types = g_list_append(types, type);
3254 } 3254 }
3255 type = gaim_status_type_new(GAIM_STATUS_HIDDEN, YAHOO_STATUS_TYPE_INVISIBLE, _("Invisible"), TRUE); 3255 type = gaim_status_type_new(GAIM_STATUS_HIDDEN, YAHOO_STATUS_TYPE_INVISIBLE, _("Invisible"), TRUE);
3256 types = g_list_append(types, type); 3256 types = g_list_append(types, type);
3257 3257