diff src/gtkmain.c @ 11348:efb358543b1d

[gaim-migrate @ 13565] Two changes: 1. Fix the "enabled" button in the accounts editor so that unchecking it will sign off an account. I broke this in one of my commits on August 17th 2. Some changes from Thomas Butter to finishing initializing Gaim, and THEN attempt to sign on accounts. This fixes problems with the crypto API not yet being initialized. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 26 Aug 2005 04:38:36 +0000
parents 421a8523ad04
children f5b14ad58722
line wrap: on
line diff
--- a/src/gtkmain.c	Fri Aug 26 03:21:03 2005 +0000
+++ b/src/gtkmain.c	Fri Aug 26 04:38:36 2005 +0000
@@ -672,9 +672,10 @@
 		}
 	}
 
-	if (!opt_acct && opt_nologin)
+	if (!opt_acct && !opt_nologin)
 	{
-		/* TODO: Need to disable all accounts or set them all to offline */
+		/* Everything is good to go--sign on already */
+		gaim_accounts_restore_previous_statuses();
 	}
 
 	if (opt_acct || (gaim_accounts_get_all() == NULL)) {