Mercurial > pidgin
diff src/protocols/rendezvous/rendezvous.c @ 10719:1da76f22c750
[gaim-migrate @ 12317]
Rendezvous allows messages for both the available and away states
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Thu, 24 Mar 2005 04:35:06 +0000 |
| parents | 7d4ca0d36f25 |
| children | d087e928ffd1 |
line wrap: on
line diff
--- a/src/protocols/rendezvous/rendezvous.c Thu Mar 24 04:09:46 2005 +0000 +++ b/src/protocols/rendezvous/rendezvous.c Thu Mar 24 04:35:06 2005 +0000 @@ -666,7 +666,10 @@ type = gaim_status_type_new_full(GAIM_STATUS_OFFLINE, "offline", _("Offline"), FALSE, TRUE, FALSE); status_types = g_list_append(status_types, type); - type = gaim_status_type_new_full(GAIM_STATUS_ONLINE, "available", _("Available"), FALSE, TRUE, FALSE); + type = gaim_status_type_new_with_attrs(GAIM_STATUS_ONLINE, "available", _("Available"), FALSE, TRUE, FALSE, "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING), NULL); + status_types = g_list_append(status_types, type); + + type = gaim_status_type_new_with_attrs(GAIM_STATUS_AWAY, "away", _("Away"), TRUE, TRUE, FALSE, "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING), NULL); status_types = g_list_append(status_types, type); return status_types;
