comparison src/protocols/simple/simple.c @ 12456:ca4021fe9a1c

[gaim-migrate @ 14765] The "offline" state for accounts should be user-settable and saveable. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 12 Dec 2005 05:46:29 +0000
parents e024601d45c7
children 12db50600de5
comparison
equal deleted inserted replaced
12455:9971cf516b35 12456:ca4021fe9a1c
243 } 243 }
244 244
245 static GList *simple_status_types(GaimAccount *acc) { 245 static GList *simple_status_types(GaimAccount *acc) {
246 GaimStatusType *type; 246 GaimStatusType *type;
247 GList *types = NULL; 247 GList *types = NULL;
248 gaim_debug_info("simple","called simple_status_types\n"); 248
249 type = gaim_status_type_new(GAIM_STATUS_OFFLINE, "offline", _("Offline"), FALSE); 249 type = gaim_status_type_new_full(
250 GAIM_STATUS_OFFLINE, "offline", _("Offline"), TRUE, TRUE, FALSE);
250 types = g_list_append(types, type); 251 types = g_list_append(types, type);
251 252
252 type = gaim_status_type_new_with_attrs( 253 type = gaim_status_type_new_with_attrs(
253 GAIM_STATUS_AVAILABLE, "available", _("Available"), 254 GAIM_STATUS_AVAILABLE, "available", _("Available"),
254 TRUE, TRUE, FALSE, 255 TRUE, TRUE, FALSE,