gaim/gaim

Parents 449548d1e3c7
Children 3cfae7f41d48
Checking the "enabled" box in the accounts window will sign
on the account, now.
--- a/src/account.c Sun Apr 24 15:52:29 2005 -0400
+++ b/src/account.c Sun Apr 24 16:38:36 2005 -0400
@@ -1086,6 +1086,8 @@
g_return_if_fail(ui != NULL);
gaim_account_set_ui_bool(account, ui, "auto-login", value);
+ if (gaim_presence_is_online(account->presence))
+ gaim_account_connect(account);
}
void
@@ -1154,11 +1156,14 @@
return;
}
- /* Our current statuses are saved to accounts.xml */
- schedule_accounts_save();
-
if (active || gaim_status_is_independent(status))
gaim_status_set_active_with_attrs(status, active, args);
+
+ /*
+ * Our current statuses are saved to accounts.xml (so that when we
+ * reconnect, we go back to the previous status).
+ */
+ schedule_accounts_save();
}
void