[gaim-migrate @ 14094]

Mon, 24 Oct 2005 23:13:50 +0000

author
Sadrul Habib Chowdhury <sadrul@pidgin.im>
date
Mon, 24 Oct 2005 23:13:50 +0000
changeset 11803
ce6a63bb535c
parent 11802
b97b3fea95ce
child 11804
9a98a2cead46

[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: Mark Doliner <markdoliner@pidgin.im>

src/protocols/yahoo/yahoo.c file | annotate | diff | comparison | revisions
--- 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);

mercurial