Mercurial > pidgin.yaz
changeset 11577:2898c59b49a3
[gaim-migrate @ 13846]
this fixes a crash for me (trying to get the emblems for a buddy in an account thats offline
we also need to get rid of buddy->present in the real near future
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 29 Sep 2005 13:59:36 +0000 |
parents | c66b972519e8 |
children | 8b955ffe9584 |
files | src/gtkblist.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkblist.c Thu Sep 29 04:05:06 2005 +0000 +++ b/src/gtkblist.c Thu Sep 29 13:59:36 2005 +0000 @@ -4006,10 +4006,10 @@ contact = (GaimContact*)node; buddy = gaim_contact_get_priority_buddy(contact); - if (buddy && (gaim_presence_is_online(buddy->presence) || + if (buddy && gaim_account_is_connected(buddy->account) && + (gaim_presence_is_online(buddy->presence) || buddy->present == GAIM_BUDDY_SIGNING_OFF || - (gaim_account_is_connected(buddy->account) && - gaim_prefs_get_bool("/gaim/gtk/blist/show_offline_buddies")) || + gaim_prefs_get_bool("/gaim/gtk/blist/show_offline_buddies") || gaim_blist_node_get_bool(node, "show_offline"))) { GtkTreeIter iter;