diff src/protocols/jabber/jabber.c @ 12658:a0fd3ebcd6fa

[gaim-migrate @ 15001] Move the offline status type after everything else for all protocols. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 25 Dec 2005 19:09:25 +0000
parents 5c5e03b9aed6
children 5f65a0cca87c
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Sun Dec 25 18:52:49 2005 +0000
+++ b/src/protocols/jabber/jabber.c	Sun Dec 25 19:09:25 2005 +0000
@@ -1082,13 +1082,6 @@
 	GList *types = NULL;
 	GaimValue *priority_value;
 
-	type = gaim_status_type_new_with_attrs(GAIM_STATUS_OFFLINE,
-			jabber_buddy_state_get_status_id(JABBER_BUDDY_STATE_UNAVAILABLE),
-			NULL, FALSE, TRUE, FALSE,
-			"message", _("Message"), gaim_value_new(GAIM_TYPE_STRING),
-			NULL);
-	types = g_list_append(types, type);
-
 	priority_value = gaim_value_new(GAIM_TYPE_INT);
 	gaim_value_set_int(priority_value, 1);
 	type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE,
@@ -1144,6 +1137,13 @@
 		m = g_list_append(m, _("Invisible"));
 	*/
 
+	type = gaim_status_type_new_with_attrs(GAIM_STATUS_OFFLINE,
+			jabber_buddy_state_get_status_id(JABBER_BUDDY_STATE_UNAVAILABLE),
+			NULL, FALSE, TRUE, FALSE,
+			"message", _("Message"), gaim_value_new(GAIM_TYPE_STRING),
+			NULL);
+	types = g_list_append(types, type);
+
 	return types;
 }