comparison libpurple/protocols/silc10/silc.c @ 25412:b5c82724598c

For some reason, all these statuses were set to saveable=FALSE. With the recent change to not save those, this broke stuff like re-use last status on startup with certain statuses (like invisible on MSN). Fixes #8316.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Tue, 03 Feb 2009 05:39:47 +0000
parents 4a4f733c4bf1
children ea62e934c80b af42303654a5
comparison
equal deleted inserted replaced
25411:99e4b9d4ebc6 25412:b5c82724598c
37 silcpurple_away_states(PurpleAccount *account) 37 silcpurple_away_states(PurpleAccount *account)
38 { 38 {
39 PurpleStatusType *type; 39 PurpleStatusType *type;
40 GList *types = NULL; 40 GList *types = NULL;
41 41
42 type = purple_status_type_new_full(PURPLE_STATUS_AVAILABLE, SILCPURPLE_STATUS_ID_AVAILABLE, NULL, FALSE, TRUE, FALSE); 42 type = purple_status_type_new_full(PURPLE_STATUS_AVAILABLE, SILCPURPLE_STATUS_ID_AVAILABLE, NULL, TRUE, TRUE, FALSE);
43 types = g_list_append(types, type); 43 types = g_list_append(types, type);
44 type = purple_status_type_new_full(PURPLE_STATUS_AVAILABLE, SILCPURPLE_STATUS_ID_HYPER, _("Hyper Active"), FALSE, TRUE, FALSE); 44 type = purple_status_type_new_full(PURPLE_STATUS_AVAILABLE, SILCPURPLE_STATUS_ID_HYPER, _("Hyper Active"), TRUE, TRUE, FALSE);
45 types = g_list_append(types, type); 45 types = g_list_append(types, type);
46 type = purple_status_type_new_full(PURPLE_STATUS_AWAY, SILCPURPLE_STATUS_ID_AWAY, NULL, FALSE, TRUE, FALSE); 46 type = purple_status_type_new_full(PURPLE_STATUS_AWAY, SILCPURPLE_STATUS_ID_AWAY, NULL, TRUE, TRUE, FALSE);
47 types = g_list_append(types, type); 47 types = g_list_append(types, type);
48 type = purple_status_type_new_full(PURPLE_STATUS_UNAVAILABLE, SILCPURPLE_STATUS_ID_BUSY, _("Busy"), FALSE, TRUE, FALSE); 48 type = purple_status_type_new_full(PURPLE_STATUS_UNAVAILABLE, SILCPURPLE_STATUS_ID_BUSY, _("Busy"), TRUE, TRUE, FALSE);
49 types = g_list_append(types, type); 49 types = g_list_append(types, type);
50 type = purple_status_type_new_full(PURPLE_STATUS_AWAY, SILCPURPLE_STATUS_ID_INDISPOSED, _("Indisposed"), FALSE, TRUE, FALSE); 50 type = purple_status_type_new_full(PURPLE_STATUS_AWAY, SILCPURPLE_STATUS_ID_INDISPOSED, _("Indisposed"), TRUE, TRUE, FALSE);
51 types = g_list_append(types, type); 51 types = g_list_append(types, type);
52 type = purple_status_type_new_full(PURPLE_STATUS_AWAY, SILCPURPLE_STATUS_ID_PAGE, _("Wake Me Up"), FALSE, TRUE, FALSE); 52 type = purple_status_type_new_full(PURPLE_STATUS_AWAY, SILCPURPLE_STATUS_ID_PAGE, _("Wake Me Up"), TRUE, TRUE, FALSE);
53 types = g_list_append(types, type); 53 types = g_list_append(types, type);
54 type = purple_status_type_new_full(PURPLE_STATUS_OFFLINE, SILCPURPLE_STATUS_ID_OFFLINE, NULL, FALSE, TRUE, FALSE); 54 type = purple_status_type_new_full(PURPLE_STATUS_OFFLINE, SILCPURPLE_STATUS_ID_OFFLINE, NULL, TRUE, TRUE, FALSE);
55 types = g_list_append(types, type); 55 types = g_list_append(types, type);
56 56
57 return types; 57 return types;
58 } 58 }
59 59