Mercurial > pidgin
diff src/protocols/yahoo/yahoo.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 | 88d504770c60 |
| children | 5e3f07172dab |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Mon Sep 12 05:44:03 2005 +0000 +++ b/src/protocols/yahoo/yahoo.c Mon Sep 12 06:04:27 2005 +0000 @@ -2462,7 +2462,7 @@ yd->confs = NULL; yd->conf_id = 2; - if (!strcmp(id, YAHOO_STATUS_TYPE_AVAILABLE) || !strcmp(id, YAHOO_STATUS_TYPE_ONLINE)) { + if (!strcmp(id, YAHOO_STATUS_TYPE_AVAILABLE)) { yd->current_status = YAHOO_STATUS_AVAILABLE; } else if (!strcmp(id, YAHOO_STATUS_TYPE_BRB)) { yd->current_status = YAHOO_STATUS_BRB; @@ -3207,9 +3207,6 @@ type = gaim_status_type_new(GAIM_STATUS_OFFLINE, YAHOO_STATUS_TYPE_OFFLINE, _("Offline"), TRUE); types = g_list_append(types, type); - type = gaim_status_type_new(GAIM_STATUS_ONLINE, YAHOO_STATUS_TYPE_ONLINE, _("Online"), TRUE); - types = g_list_append(types, type); - type = gaim_status_type_new(GAIM_STATUS_AVAILABLE, YAHOO_STATUS_TYPE_AVAILABLE, _("Available"), TRUE); types = g_list_append(types, type);
