changeset 12657:7b816173e2c6

[gaim-migrate @ 15000] List "online" before "offline" in the SIP/SIMPLE plugin committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 25 Dec 2005 18:52:49 +0000
parents 60cce1861e59
children a0fd3ebcd6fa
files src/protocols/simple/simple.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/simple/simple.c	Sun Dec 25 18:16:29 2005 +0000
+++ b/src/protocols/simple/simple.c	Sun Dec 25 18:52:49 2005 +0000
@@ -246,16 +246,16 @@
 	GaimStatusType *type;
 	GList *types = NULL;
 
-	type = gaim_status_type_new_full(
-		GAIM_STATUS_OFFLINE, NULL, NULL, TRUE, TRUE, FALSE);
-	types = g_list_append(types, type);
-
 	type = gaim_status_type_new_with_attrs(
 		GAIM_STATUS_AVAILABLE, NULL, NULL, TRUE, TRUE, FALSE,
 		"message", _("Message"), gaim_value_new(GAIM_TYPE_STRING),
 		NULL);
 	types = g_list_append(types, type);
 
+	type = gaim_status_type_new_full(
+		GAIM_STATUS_OFFLINE, NULL, NULL, TRUE, TRUE, FALSE);
+	types = g_list_append(types, type);
+
 	return types;
 }