comparison src/protocols/jabber/jabber.c @ 11569:ea98c27f1a34

[gaim-migrate @ 13836] ok, I got the priority stuff backwords committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 26 Sep 2005 01:07:53 +0000
parents e36f0f9debb5
children f38655b98ba0
comparison
equal deleted inserted replaced
11568:e36f0f9debb5 11569:ea98c27f1a34
1005 _("Offline"), FALSE, TRUE, FALSE, "message", _("Message"), 1005 _("Offline"), FALSE, TRUE, FALSE, "message", _("Message"),
1006 gaim_value_new(GAIM_TYPE_STRING), NULL); 1006 gaim_value_new(GAIM_TYPE_STRING), NULL);
1007 types = g_list_append(types, type); 1007 types = g_list_append(types, type);
1008 1008
1009 priority_value = gaim_value_new(GAIM_TYPE_INT); 1009 priority_value = gaim_value_new(GAIM_TYPE_INT);
1010 gaim_value_set_int(priority_value, 0); 1010 gaim_value_set_int(priority_value, 1);
1011 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE, "available", 1011 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE, "available",
1012 _("Available"), TRUE, TRUE, FALSE, "priority", _("Priority"), 1012 _("Available"), TRUE, TRUE, FALSE, "priority", _("Priority"),
1013 priority_value, "message", _("Message"), 1013 priority_value, "message", _("Message"),
1014 gaim_value_new(GAIM_TYPE_STRING), NULL); 1014 gaim_value_new(GAIM_TYPE_STRING), NULL);
1015 types = g_list_append(types, type); 1015 types = g_list_append(types, type);
1016 1016
1017 priority_value = gaim_value_new(GAIM_TYPE_INT); 1017 priority_value = gaim_value_new(GAIM_TYPE_INT);
1018 gaim_value_set_int(priority_value, 0); 1018 gaim_value_set_int(priority_value, 1);
1019 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE, "chat", 1019 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE, "chat",
1020 _("Chatty"), TRUE, TRUE, FALSE, "priority", _("Priority"), 1020 _("Chatty"), TRUE, TRUE, FALSE, "priority", _("Priority"),
1021 priority_value, "message", _("Message"), 1021 priority_value, "message", _("Message"),
1022 gaim_value_new(GAIM_TYPE_STRING), NULL); 1022 gaim_value_new(GAIM_TYPE_STRING), NULL);
1023 types = g_list_append(types, type); 1023 types = g_list_append(types, type);
1024 1024
1025 priority_value = gaim_value_new(GAIM_TYPE_INT); 1025 priority_value = gaim_value_new(GAIM_TYPE_INT);
1026 gaim_value_set_int(priority_value, 5); 1026 gaim_value_set_int(priority_value, 0);
1027 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AWAY, "away", 1027 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AWAY, "away",
1028 _("Away"), TRUE, TRUE, FALSE, "priority", _("Priority"), 1028 _("Away"), TRUE, TRUE, FALSE, "priority", _("Priority"),
1029 priority_value, "message", _("Message"), 1029 priority_value, "message", _("Message"),
1030 gaim_value_new(GAIM_TYPE_STRING), NULL); 1030 gaim_value_new(GAIM_TYPE_STRING), NULL);
1031 types = g_list_append(types, type); 1031 types = g_list_append(types, type);
1032 1032
1033 priority_value = gaim_value_new(GAIM_TYPE_INT); 1033 priority_value = gaim_value_new(GAIM_TYPE_INT);
1034 gaim_value_set_int(priority_value, 10); 1034 gaim_value_set_int(priority_value, 0);
1035 type = gaim_status_type_new_with_attrs(GAIM_STATUS_EXTENDED_AWAY, "xa", 1035 type = gaim_status_type_new_with_attrs(GAIM_STATUS_EXTENDED_AWAY, "xa",
1036 _("Extended Away"), TRUE, TRUE, FALSE, "priority", _("Priority"), 1036 _("Extended Away"), TRUE, TRUE, FALSE, "priority", _("Priority"),
1037 priority_value, "message", _("Message"), 1037 priority_value, "message", _("Message"),
1038 gaim_value_new(GAIM_TYPE_STRING), NULL); 1038 gaim_value_new(GAIM_TYPE_STRING), NULL);
1039 types = g_list_append(types, type); 1039 types = g_list_append(types, type);
1040 1040
1041 priority_value = gaim_value_new(GAIM_TYPE_INT); 1041 priority_value = gaim_value_new(GAIM_TYPE_INT);
1042 gaim_value_set_int(priority_value, 20); 1042 gaim_value_set_int(priority_value, 0);
1043 type = gaim_status_type_new_with_attrs(GAIM_STATUS_UNAVAILABLE, "dnd", 1043 type = gaim_status_type_new_with_attrs(GAIM_STATUS_UNAVAILABLE, "dnd",
1044 _("Do Not Disturb"), TRUE, TRUE, FALSE, "priority", _("Priority"), 1044 _("Do Not Disturb"), TRUE, TRUE, FALSE, "priority", _("Priority"),
1045 priority_value, "message", _("Message"), 1045 priority_value, "message", _("Message"),
1046 gaim_value_new(GAIM_TYPE_STRING), NULL); 1046 gaim_value_new(GAIM_TYPE_STRING), NULL);
1047 types = g_list_append(types, type); 1047 types = g_list_append(types, type);