# HG changeset patch # User Nathan Walp # Date 1094618346 0 # Node ID 1cad29047886929e8751df00642da6e0cb50c3de # Parent 920f6a5bcb4a3f50b7313486bb4ac855b93387a2 [gaim-migrate @ 10891] this crashes less committer: Tailor Script diff -r 920f6a5bcb4a -r 1cad29047886 src/protocols/jabber/jabber.c --- 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); /*