# HG changeset patch # User Mark Doliner # Date 1130195630 0 # Node ID b4602ccb4e69871837db728c86612217a281cf2f # Parent 2e3a6dcebaf3f9e0d4861a790c37bc7bff058281 [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 diff -r 2e3a6dcebaf3 -r b4602ccb4e69 src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Mon Oct 24 22:45:24 2005 +0000 +++ b/src/protocols/yahoo/yahoo.c Mon Oct 24 23:13:50 2005 +0000 @@ -3219,6 +3219,12 @@ gaim_value_new(GAIM_TYPE_STRING), NULL); types = g_list_append(types, type); + type = gaim_status_type_new_with_attrs(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_AWAY, + _("Away"), TRUE, TRUE, FALSE, + "message", _("Message"), + 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); @@ -3245,12 +3251,6 @@ 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_with_attrs(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_AWAY, - _("Away"), TRUE, TRUE, FALSE, - "message", _("Message"), - gaim_value_new(GAIM_TYPE_STRING), NULL); - 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);