Mercurial > pidgin.yaz
changeset 11437:1c20849fc716
[gaim-migrate @ 13674]
GAIM_BUDDY_SIGNING_OFF needs to be taken into account again for Last Seen, as well.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 04 Sep 2005 04:20:15 +0000 |
parents | f2ccf809ad91 |
children | 5451fe2d89c0 |
files | src/gtkblist.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkblist.c Sun Sep 04 02:06:47 2005 +0000 +++ b/src/gtkblist.c Sun Sep 04 04:20:15 2005 +0000 @@ -2857,7 +2857,8 @@ } /* Last Seen */ - if (!GAIM_BUDDY_IS_ONLINE(b) || b->present == GAIM_BUDDY_SIGNING_ON) + if ((!GAIM_BUDDY_IS_ONLINE(b) && b->present != GAIM_BUDDY_SIGNING_OFF) || + b->present == GAIM_BUDDY_SIGNING_ON) { struct _gaim_gtk_blist_node *gtknode = ((GaimBlistNode *)c)->ui_data; GaimBlistNode *bnode; @@ -2865,8 +2866,8 @@ if (!gtknode->contact_expanded || GAIM_BLIST_NODE_IS_CONTACT(node)) { - /* We're either looking at buddy for a collapsed contact or - * a contact (which is expanded) so we show the most recent + /* We're either looking at a buddy for a collapsed contact or + * an exanded contact itself so we show the most recent * (largest) last_seen time for any of the buddies under * the contact. */ for (bnode = ((GaimBlistNode *)c)->child ; bnode != NULL ; bnode = bnode->next)