diff src/gtkaccount.c @ 5855:082982a4acbd

[gaim-migrate @ 6286] ok, this will get rid of the negative group counts for trepia, and also fixes the accounts dialog so signing off of an account leaves it signed off committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 13 Jun 2003 17:55:02 +0000
parents daac2e9a1b0b
children a479e218c54b
line wrap: on
line diff
--- a/src/gtkaccount.c	Fri Jun 13 16:49:00 2003 +0000
+++ b/src/gtkaccount.c	Fri Jun 13 17:55:02 2003 +0000
@@ -1504,10 +1504,12 @@
 					   COLUMN_ONLINE, &online,
 					   -1);
 
-	if (online)
+	if (online) {
+		account->gc->wants_to_die = TRUE;
 		gaim_account_disconnect(account);
-	else
+	} else {
 		gaim_account_connect(account);
+	}
 }
 
 static void