Mercurial > pidgin
comparison src/account.c @ 10862:885377f484b7
[gaim-migrate @ 12545]
Checking the "enabled" box in the accounts window will sign
on the account, now.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 24 Apr 2005 20:38:36 +0000 |
parents | d83f745c997b |
children | 4a4f2760a9ad |
comparison
equal
deleted
inserted
replaced
10861:42c16b293867 | 10862:885377f484b7 |
---|---|
1084 { | 1084 { |
1085 g_return_if_fail(account != NULL); | 1085 g_return_if_fail(account != NULL); |
1086 g_return_if_fail(ui != NULL); | 1086 g_return_if_fail(ui != NULL); |
1087 | 1087 |
1088 gaim_account_set_ui_bool(account, ui, "auto-login", value); | 1088 gaim_account_set_ui_bool(account, ui, "auto-login", value); |
1089 if (gaim_presence_is_online(account->presence)) | |
1090 gaim_account_connect(account); | |
1089 } | 1091 } |
1090 | 1092 |
1091 void | 1093 void |
1092 gaim_account_set_proxy_info(GaimAccount *account, GaimProxyInfo *info) | 1094 gaim_account_set_proxy_info(GaimAccount *account, GaimProxyInfo *info) |
1093 { | 1095 { |
1152 status_id, gaim_account_get_username(account), | 1154 status_id, gaim_account_get_username(account), |
1153 gaim_account_get_protocol_id(account)); | 1155 gaim_account_get_protocol_id(account)); |
1154 return; | 1156 return; |
1155 } | 1157 } |
1156 | 1158 |
1157 /* Our current statuses are saved to accounts.xml */ | |
1158 schedule_accounts_save(); | |
1159 | |
1160 if (active || gaim_status_is_independent(status)) | 1159 if (active || gaim_status_is_independent(status)) |
1161 gaim_status_set_active_with_attrs(status, active, args); | 1160 gaim_status_set_active_with_attrs(status, active, args); |
1161 | |
1162 /* | |
1163 * Our current statuses are saved to accounts.xml (so that when we | |
1164 * reconnect, we go back to the previous status). | |
1165 */ | |
1166 schedule_accounts_save(); | |
1162 } | 1167 } |
1163 | 1168 |
1164 void | 1169 void |
1165 gaim_account_clear_settings(GaimAccount *account) | 1170 gaim_account_clear_settings(GaimAccount *account) |
1166 { | 1171 { |