# HG changeset patch # User Daniel Atallah # Date 1125759716 0 # Node ID f191b5bc199b046c6acc55b228bcfbc893c2b4f2 # Parent 0cad723a5a1b11704027c601a60e70db9172dc13 [gaim-migrate @ 13671] Patch from Kevin Stange to fix the open and close doors on log in and out committer: Tailor Script diff -r 0cad723a5a1b -r f191b5bc199b src/blist.c --- a/src/blist.c Sat Sep 03 14:07:47 2005 +0000 +++ b/src/blist.c Sat Sep 03 15:01:56 2005 +0000 @@ -762,6 +762,7 @@ !gaim_status_is_online(old_status)) { int old_present = buddy->present; + buddy->present = GAIM_BUDDY_SIGNING_ON; gaim_signal_emit(gaim_blist_get_handle(), "buddy-signed-on", buddy); if (old_present != GAIM_BUDDY_SIGNING_OFF) { ((GaimContact*)((GaimBlistNode*)buddy)->parent)->online++; diff -r 0cad723a5a1b -r f191b5bc199b src/gtkblist.c --- a/src/gtkblist.c Sat Sep 03 14:07:47 2005 +0000 +++ b/src/gtkblist.c Sat Sep 03 15:01:56 2005 +0000 @@ -4007,6 +4007,7 @@ buddy = gaim_contact_get_priority_buddy(contact); if (buddy && (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_blist_node_get_bool(node, "show_offline"))) @@ -4064,6 +4065,7 @@ if (gtkparentnode->contact_expanded && (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_blist_node_get_bool(node->parent, "show_offline")))