diff src/gtkaccount.c @ 5979:49ae70ffcea5

[gaim-migrate @ 6426] The check mail option now actually works. It turns out I was quite stupid and cleared all settings almost immediately after setting that one. Doh. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 30 Jun 2003 04:45:52 +0000
parents 041b657227c4
children 6e3650c096b0
line wrap: on
line diff
--- a/src/gtkaccount.c	Mon Jun 30 03:12:40 2003 +0000
+++ b/src/gtkaccount.c	Mon Jun 30 04:45:52 2003 +0000
@@ -945,6 +945,9 @@
 		gaim_account_set_protocol_id(dialog->account, dialog->protocol_id);
 	}
 
+	/* Clear the existing settings. */
+	gaim_account_clear_settings(dialog->account);
+
 	/* Alias */
 	value = gtk_entry_get_text(GTK_ENTRY(dialog->alias_entry));
 
@@ -977,8 +980,6 @@
 			gtk_toggle_button_get_active(
 				GTK_TOGGLE_BUTTON(dialog->auto_login_check)));
 
-	/* TODO: Do something about auto-login. */
-
 	/* Password */
 	value = gtk_entry_get_text(GTK_ENTRY(dialog->password_entry));
 
@@ -1016,7 +1017,6 @@
 	g_free(username);
 
 	/* Add the protocol settings */
-	gaim_account_clear_settings(dialog->account);
 
 	for (l = dialog->prpl_info->protocol_options,
 		 l2 = dialog->protocol_opt_entries;