Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
5904:ad8497bee878 | 5905:dbe2a2174be9 |
---|---|
177 | 177 |
178 gc->state = state; | 178 gc->state = state; |
179 | 179 |
180 ops = gaim_get_connection_ui_ops(); | 180 ops = gaim_get_connection_ui_ops(); |
181 | 181 |
182 if (gc->state != GAIM_CONNECTED) | 182 if (gc->state == GAIM_CONNECTING) { |
183 connections_connecting = g_list_append(connections_connecting, gc); | |
184 } | |
185 else { | |
183 connections_connecting = g_list_remove(connections_connecting, gc); | 186 connections_connecting = g_list_remove(connections_connecting, gc); |
187 } | |
184 | 188 |
185 if (gc->state == GAIM_CONNECTED) { | 189 if (gc->state == GAIM_CONNECTED) { |
186 GaimBlistNode *gnode,*bnode; | 190 GaimBlistNode *gnode,*bnode; |
187 GList *wins; | 191 GList *wins; |
188 GList *add_buds=NULL; | 192 GList *add_buds=NULL; |
189 | 193 |
190 /* Set the time the account came online */ | 194 /* Set the time the account came online */ |
191 time(&gc->login_time); | 195 time(&gc->login_time); |
192 | |
193 connections_connecting = g_list_append(connections_connecting, gc); | |
194 | 196 |
195 if (ops != NULL && ops->connected != NULL) | 197 if (ops != NULL && ops->connected != NULL) |
196 ops->connected(gc); | 198 ops->connected(gc); |
197 | 199 |
198 gaim_blist_show(); | 200 gaim_blist_show(); |