Mercurial > pidgin.yaz
changeset 28822:9e8d0537d37d
I don't think the comment made sense, this is probably what it meant
to be. It's only checking status type but not the status message, so
it can match the "wrong" status if you have substatuses of different
messages.
I am not sure if that's a feature or bug though. Seems like a bug to
me because it prevents you from setting certain messages if you
already have similar transient status.
Oh, and why does this matching only work on transient statuses anyway.
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Mon, 26 Oct 2009 06:53:35 +0000 |
parents | a5b8f6f2b112 |
children | d050abf6608f |
files | pidgin/gtkstatusbox.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkstatusbox.c Mon Oct 26 01:11:53 2009 +0000 +++ b/pidgin/gtkstatusbox.c Mon Oct 26 06:53:35 2009 +0000 @@ -2435,7 +2435,7 @@ purple_strequal(ss_msg, message)) { gboolean found = FALSE; - /* The currently enabled accounts must have substatuses for all the active accts */ + /* this status must have substatuses for all the active accts */ for(tmp = active_accts; tmp != NULL; tmp = tmp->next) { PurpleAccount *acct = tmp->data; PurpleSavedStatusSub *sub = purple_savedstatus_get_substatus(ss, acct);