changeset 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 2e3a6dcebaf3
children 648637d0a931
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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);