comparison src/protocols/simple/simple.c @ 11522:a26eb48d1953

[gaim-migrate @ 13770] I removed the GAIM_STATUS_ONLINE primitive. Use GAIM_STATUS_AVAILABLE instead. If the primitive is not GAIM_STATUS_OFFLINE, then the user is online and the primitive could be GAIM_STATUS_AVAILABLE, GAIM_STATUS_AWAY, etc. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 12 Sep 2005 06:04:27 +0000
parents d37a45a53106
children 1f95b6308195
comparison
equal deleted inserted replaced
11521:d41aabad3b7a 11522:a26eb48d1953
243 static GList *simple_status_types(GaimAccount *acc) { 243 static GList *simple_status_types(GaimAccount *acc) {
244 GaimStatusType *type; 244 GaimStatusType *type;
245 GList *types = NULL; 245 GList *types = NULL;
246 gaim_debug_info("simple","called simple_status_types\n"); 246 gaim_debug_info("simple","called simple_status_types\n");
247 type = gaim_status_type_new(GAIM_STATUS_OFFLINE, "offline", _("Offline"), FALSE); 247 type = gaim_status_type_new(GAIM_STATUS_OFFLINE, "offline", _("Offline"), FALSE);
248 types = g_list_append(types, type);
249
250 type = gaim_status_type_new(GAIM_STATUS_ONLINE, "online", _("Online"), FALSE);
251 types = g_list_append(types, type); 248 types = g_list_append(types, type);
252 249
253 type = gaim_status_type_new_with_attrs( 250 type = gaim_status_type_new_with_attrs(
254 GAIM_STATUS_AVAILABLE, "available", _("Available"), 251 GAIM_STATUS_AVAILABLE, "available", _("Available"),
255 TRUE, TRUE, FALSE, 252 TRUE, TRUE, FALSE,