diff src/protocols/bonjour/bonjour.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 2926e3c3185e
children 82e918444965
line wrap: on
line diff
--- a/src/protocols/bonjour/bonjour.c	Sun Dec 25 18:52:49 2005 +0000
+++ b/src/protocols/bonjour/bonjour.c	Sun Dec 25 19:09:25 2005 +0000
@@ -241,11 +241,6 @@
 
 	g_return_val_if_fail(account != NULL, NULL);
 
-	type = gaim_status_type_new_full(GAIM_STATUS_OFFLINE,
-									 BONJOUR_STATUS_ID_OFFLINE,
-									 NULL, TRUE, TRUE, FALSE);
-	status_types = g_list_append(status_types, type);
-
 	type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE,
 										   BONJOUR_STATUS_ID_AVAILABLE,
 										   NULL, TRUE, TRUE, FALSE,
@@ -260,6 +255,11 @@
 										   gaim_value_new(GAIM_TYPE_STRING), NULL);
 	status_types = g_list_append(status_types, type);
 
+	type = gaim_status_type_new_full(GAIM_STATUS_OFFLINE,
+									 BONJOUR_STATUS_ID_OFFLINE,
+									 NULL, TRUE, TRUE, FALSE);
+	status_types = g_list_append(status_types, type);
+
 	return status_types;
 }