Mercurial > pidgin
diff src/connection.c @ 5905:dbe2a2174be9
[gaim-migrate @ 6337]
Some stuff from Robot101. It puts some docklet functionality back in,
fixes a bug where connected accounts was being listed as connecting accounts,
and something I'm not allowed to say, because it's just that cool.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 16 Jun 2003 04:15:35 +0000 |
parents | 02569519d0cc |
children | 6c22d37c6a3c |
line wrap: on
line diff
--- a/src/connection.c Mon Jun 16 02:25:40 2003 +0000 +++ b/src/connection.c Mon Jun 16 04:15:35 2003 +0000 @@ -179,8 +179,12 @@ ops = gaim_get_connection_ui_ops(); - if (gc->state != GAIM_CONNECTED) + if (gc->state == GAIM_CONNECTING) { + connections_connecting = g_list_append(connections_connecting, gc); + } + else { connections_connecting = g_list_remove(connections_connecting, gc); + } if (gc->state == GAIM_CONNECTED) { GaimBlistNode *gnode,*bnode; @@ -190,8 +194,6 @@ /* Set the time the account came online */ time(&gc->login_time); - connections_connecting = g_list_append(connections_connecting, gc); - if (ops != NULL && ops->connected != NULL) ops->connected(gc);