Mercurial > pidgin.yaz
changeset 6507:c8e31153eea7
[gaim-migrate @ 7024]
Moved signing-on and signed-off emissions such that the gc is not yet
removed from the list of valid connections when they occur.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Tue, 19 Aug 2003 21:09:56 +0000 |
parents | b6f7fcafc908 |
children | cbd24b37350d |
files | src/connection.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/connection.c Tue Aug 19 20:43:11 2003 +0000 +++ b/src/connection.c Tue Aug 19 21:09:56 2003 +0000 @@ -153,12 +153,12 @@ gaim_connection_set_state(gc, GAIM_CONNECTING); + connections = g_list_append(connections, gc); + gaim_signal_emit(gaim_connections_get_handle(), "signing-on", gc); gaim_debug(GAIM_DEBUG_INFO, "connection", "Calling serv_login\n"); - connections = g_list_append(connections, gc); - serv_login(account); } @@ -188,12 +188,12 @@ serv_close(gc); - connections = g_list_remove(connections, gc); - gaim_connection_set_state(gc, GAIM_DISCONNECTED); gaim_signal_emit(gaim_connections_get_handle(), "signed-off", gc); + connections = g_list_remove(connections, gc); + system_log(log_signoff, gc, NULL, OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON);