Mercurial > pidgin.yaz
comparison src/blist.c @ 11434:f191b5bc199b
[gaim-migrate @ 13671]
Patch from Kevin Stange to fix the open and close doors on log in and out
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sat, 03 Sep 2005 15:01:56 +0000 |
parents | 17142948653e |
children | 201617d49573 |
comparison
equal
deleted
inserted
replaced
11433:0cad723a5a1b | 11434:f191b5bc199b |
---|---|
760 | 760 |
761 if (gaim_status_is_online(status) && | 761 if (gaim_status_is_online(status) && |
762 !gaim_status_is_online(old_status)) { | 762 !gaim_status_is_online(old_status)) { |
763 int old_present = buddy->present; | 763 int old_present = buddy->present; |
764 | 764 |
765 buddy->present = GAIM_BUDDY_SIGNING_ON; | |
765 gaim_signal_emit(gaim_blist_get_handle(), "buddy-signed-on", buddy); | 766 gaim_signal_emit(gaim_blist_get_handle(), "buddy-signed-on", buddy); |
766 if (old_present != GAIM_BUDDY_SIGNING_OFF) { | 767 if (old_present != GAIM_BUDDY_SIGNING_OFF) { |
767 ((GaimContact*)((GaimBlistNode*)buddy)->parent)->online++; | 768 ((GaimContact*)((GaimBlistNode*)buddy)->parent)->online++; |
768 if (((GaimContact*)((GaimBlistNode*)buddy)->parent)->online == 1) | 769 if (((GaimContact*)((GaimBlistNode*)buddy)->parent)->online == 1) |
769 ((GaimGroup *)((GaimBlistNode *)buddy)->parent->parent)->online++; | 770 ((GaimGroup *)((GaimBlistNode *)buddy)->parent->parent)->online++; |