Mercurial > pidgin.yaz
comparison src/account.c @ 10749:3839df4f7074
[gaim-migrate @ 12351]
This fixes the auto-reconnect plugin bug. The whole "wants_to_die"
thing feels a little dirty. Eh, it's fine for now.
Also, the gtkstatusbox starts off in the "available" state instead
of using the GaimStatus of whatever account is online. This negates
the effect of saving the GaimStatuses for an account.
More tomorrow...
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 27 Mar 2005 05:17:18 +0000 |
parents | 279eee07dd42 |
children | 8a97b59f0071 |
comparison
equal
deleted
inserted
replaced
10748:8d19e10c187f | 10749:3839df4f7074 |
---|---|
1154 */ | 1154 */ |
1155 if (active && | 1155 if (active && |
1156 (gaim_status_type_get_primitive(status_type) == GAIM_STATUS_OFFLINE) && | 1156 (gaim_status_type_get_primitive(status_type) == GAIM_STATUS_OFFLINE) && |
1157 gaim_account_is_connected(account)) | 1157 gaim_account_is_connected(account)) |
1158 { | 1158 { |
1159 account->gc->wants_to_die = TRUE; | |
1159 gaim_account_disconnect(account); | 1160 gaim_account_disconnect(account); |
1160 | 1161 |
1161 /* No need to actually set the status, so we just exit */ | 1162 /* No need to actually set the status, so we just exit */ |
1162 return; | 1163 return; |
1163 } | 1164 } |