comparison src/protocols/jabber/jabber.c @ 10486:84bc372a621e

[gaim-migrate @ 11776] jabber status stuff committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 08 Jan 2005 18:58:19 +0000
parents 3e4ecbdf8d0a
children 659edfcac14e
comparison
equal deleted inserted replaced
10485:58ab47ed31bf 10486:84bc372a621e
969 type = gaim_status_type_new_with_attrs(GAIM_STATUS_OFFLINE, "offline", 969 type = gaim_status_type_new_with_attrs(GAIM_STATUS_OFFLINE, "offline",
970 _("Offline"), FALSE, TRUE, FALSE, "message", _("Message"), 970 _("Offline"), FALSE, TRUE, FALSE, "message", _("Message"),
971 gaim_value_new(GAIM_TYPE_STRING), NULL); 971 gaim_value_new(GAIM_TYPE_STRING), NULL);
972 types = g_list_append(types, type); 972 types = g_list_append(types, type);
973 973
974 type = gaim_status_type_new_with_attrs(GAIM_STATUS_ONLINE, "online", 974 type = gaim_status_type_new_full(GAIM_STATUS_ONLINE, "online", _("Online"), FALSE, TRUE, FALSE);
975 _("Online"), TRUE, TRUE, FALSE, "priority", _("Priority"), 975 types = g_list_append(types, type);
976
977 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE, "available",
978 _("Available"), TRUE, TRUE, FALSE, "priority", _("Priority"),
976 gaim_value_new(GAIM_TYPE_INT), "message", _("Message"), 979 gaim_value_new(GAIM_TYPE_INT), "message", _("Message"),
977 gaim_value_new(GAIM_TYPE_STRING), NULL); 980 gaim_value_new(GAIM_TYPE_STRING), NULL);
978 types = g_list_append(types, type); 981 types = g_list_append(types, type);
979 982
980 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE, "chat", 983 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE, "chat",