Mercurial > pidgin
diff src/gtkstatusselector.c @ 10197:7369bf2bf593
[gaim-migrate @ 11314]
More status fixes. Oscar kind of works... you can set yourself away,
invisible and available, but you can't choose the message for away,
can't choose an available message, and invisible only seems to work
the first time.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 17 Nov 2004 01:32:06 +0000 |
parents | 0f86175b41a4 |
children | 76e296e16def |
line wrap: on
line diff
--- a/src/gtkstatusselector.c Tue Nov 16 23:29:53 2004 +0000 +++ b/src/gtkstatusselector.c Wed Nov 17 01:32:06 2004 +0000 @@ -226,13 +226,9 @@ /* TODO */ } } - else if (!strcmp(status_type_id, "available")) + else { - /* TODO */ - } - else if (!strcmp(status_type_id, "away")) - { - const char *message = ""; + const char *message = text; GtkTextBuffer *buffer; gboolean allow_message = FALSE; @@ -256,7 +252,7 @@ if (gaim_status_type_get_attr(status_type, "message") != NULL) { gaim_account_set_status(account, - "away", TRUE, + status_type_id, TRUE, "message", message, NULL); @@ -265,7 +261,7 @@ else { gaim_account_set_status(account, - "away", TRUE, + status_type_id, TRUE, NULL); } }