changeset 9980:1cad29047886

[gaim-migrate @ 10891] this crashes less committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 08 Sep 2004 04:39:06 +0000
parents 920f6a5bcb4a
children 5b13241a32c8
files src/protocols/jabber/jabber.c
diffstat 1 files changed, 25 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Wed Sep 08 04:37:30 2004 +0000
+++ b/src/protocols/jabber/jabber.c	Wed Sep 08 04:39:06 2004 +0000
@@ -953,22 +953,39 @@
 	GaimStatusType *type;
 	GList *types = NULL;
 
-	type = gaim_status_type_new_with_attrs(GAIM_STATUS_OFFLINE, "offline", _("Offline"), TRUE, FALSE, FALSE, "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING));
+	type = gaim_status_type_new_with_attrs(GAIM_STATUS_OFFLINE, "offline",
+			_("Offline"), FALSE, TRUE, FALSE, "message", _("Message"),
+			gaim_value_new(GAIM_TYPE_STRING), NULL);
 	types = g_list_append(types, type);
 
-	type = gaim_status_type_new_with_attrs(GAIM_STATUS_ONLINE, "online", _("Online"), TRUE, TRUE, FALSE, "priority", _("Priority"), gaim_value_new(GAIM_TYPE_INT), "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING));
+	type = gaim_status_type_new_with_attrs(GAIM_STATUS_ONLINE, "online",
+			_("Online"), TRUE, TRUE, FALSE, "priority", _("Priority"),
+			gaim_value_new(GAIM_TYPE_INT), "message", _("Message"),
+			gaim_value_new(GAIM_TYPE_STRING), NULL);
+	types = g_list_append(types, type);
+
+	type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE, "chat",
+			_("Chatty"), TRUE, TRUE, FALSE, "priority", _("Priority"),
+			gaim_value_new(GAIM_TYPE_INT), "message", _("Message"),
+			gaim_value_new(GAIM_TYPE_STRING), NULL);
 	types = g_list_append(types, type);
 
-	type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE, "chat", _("Chatty"), TRUE, TRUE, FALSE, "priority", _("Priority"), gaim_value_new(GAIM_TYPE_INT), "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING));
+	type = gaim_status_type_new_with_attrs(GAIM_STATUS_AWAY, "away",
+			_("Away"), TRUE, TRUE, FALSE, "priority", _("Priority"),
+			gaim_value_new(GAIM_TYPE_INT), "message", _("Message"),
+			gaim_value_new(GAIM_TYPE_STRING), NULL);
 	types = g_list_append(types, type);
 
-	type = gaim_status_type_new_with_attrs(GAIM_STATUS_AWAY, "away", _("Away"), TRUE, TRUE, FALSE, "priority", _("Priority"), gaim_value_new(GAIM_TYPE_INT), "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING));
+	type = gaim_status_type_new_with_attrs(GAIM_STATUS_EXTENDED_AWAY, "xa",
+			_("Extended Away"), TRUE, TRUE, FALSE, "priority", _("Priority"),
+			gaim_value_new(GAIM_TYPE_INT), "message", _("Message"),
+			gaim_value_new(GAIM_TYPE_STRING), NULL);
 	types = g_list_append(types, type);
 
-	type = gaim_status_type_new_with_attrs(GAIM_STATUS_EXTENDED_AWAY, "xa", _("Extended Away"), TRUE, TRUE, FALSE, "priority", _("Priority"), gaim_value_new(GAIM_TYPE_INT), "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING));
-	types = g_list_append(types, type);
-
-	type = gaim_status_type_new_with_attrs(GAIM_STATUS_UNAVAILABLE, "dnd", _("Do Not Disturb"), TRUE, TRUE, FALSE, "priority", _("Priority"), gaim_value_new(GAIM_TYPE_INT), "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING));
+	type = gaim_status_type_new_with_attrs(GAIM_STATUS_UNAVAILABLE, "dnd",
+			_("Do Not Disturb"), TRUE, TRUE, FALSE, "priority", _("Priority"),
+			gaim_value_new(GAIM_TYPE_INT), "message", _("Message"),
+			gaim_value_new(GAIM_TYPE_STRING), NULL);
 	types = g_list_append(types, type);
 
 	/*