Mercurial > pidgin
changeset 12206:d345299ff3bc
[gaim-migrate @ 14508]
Bleeter says this fixes the stuff that marv and nosnilmot objected to
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 24 Nov 2005 02:09:28 +0000 |
parents | 0e87d5e28888 |
children | 201be1b681a4 |
files | src/protocols/yahoo/yahoo.c |
diffstat | 1 files changed, 35 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Thu Nov 24 02:03:00 2005 +0000 +++ b/src/protocols/yahoo/yahoo.c Thu Nov 24 02:09:28 2005 +0000 @@ -2631,16 +2631,24 @@ static char *yahoo_get_status_string(enum yahoo_status a) { switch (a) { + case YAHOO_STATUS_BRB: + return _("Be Right Back"); case YAHOO_STATUS_BUSY: return _("Busy"); + case YAHOO_STATUS_NOTATHOME: + return _("Not At Home"); + case YAHOO_STATUS_NOTATDESK: + return _("Not At Desk"); + case YAHOO_STATUS_NOTINOFFICE: + return _("Not In Office"); + case YAHOO_STATUS_ONPHONE: + return _("On The Phone"); + case YAHOO_STATUS_ONVACATION: + return _("On Vacation"); + case YAHOO_STATUS_OUTTOLUNCH: + return _("Out To Lunch"); case YAHOO_STATUS_STEPPEDOUT: return _("Stepped Out"); - case YAHOO_STATUS_BRB: - return _("Be Right Back"); - case YAHOO_STATUS_NOTATDESK: - return _("Not At Desk"); - case YAHOO_STATUS_ONPHONE: - return _("On The Phone"); case YAHOO_STATUS_INVISIBLE: return _("Invisible"); case YAHOO_STATUS_IDLE: @@ -3201,20 +3209,33 @@ gaim_value_new(GAIM_TYPE_STRING), NULL); types = g_list_append(types, type); + type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_BRB, _("Be Right Back"), TRUE); + types = g_list_append(types, type); + type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_BUSY, _("Busy"), TRUE); types = g_list_append(types, type); + type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTATHOME, _("Not At Home"), TRUE); + types = g_list_append(types, type); + + type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTATDESK, _("Not At Desk"), TRUE); + types = g_list_append(types, type); + + type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTINOFFICE, _("Not In Office"), TRUE); + types = g_list_append(types, type); + + type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_ONPHONE, _("On The Phone"), TRUE); + types = g_list_append(types, type); + + type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_ONVACATION, _("On Vacation"), TRUE); + types = g_list_append(types, type); + + type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_OUTTOLUNCH, _("Out To Lunch"), TRUE); + types = g_list_append(types, type); + type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_STEPPEDOUT, _("Stepped Out"), TRUE); types = g_list_append(types, type); - type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_BRB, _("Be Right Back"), TRUE); - types = g_list_append(types, type); - - type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTATDESK, _("Not At Desk"), TRUE); - types = g_list_append(types, type); - - type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_ONPHONE, _("On The Phone"), TRUE); - types = g_list_append(types, type); type = gaim_status_type_new(GAIM_STATUS_HIDDEN, YAHOO_STATUS_TYPE_INVISIBLE, _("Invisible"), TRUE); types = g_list_append(types, type);