changeset 5699:3bac8b558577

[gaim-migrate @ 6120] Updating the account protocol works. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 03 Jun 2003 09:23:30 +0000
parents 81d7b4239815
children ad55a15c7b93
files src/gtkaccount.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkaccount.c	Tue Jun 03 09:21:18 2003 +0000
+++ b/src/gtkaccount.c	Tue Jun 03 09:23:30 2003 +0000
@@ -759,6 +759,10 @@
 
 		dialog->account = gaim_account_new(screenname, dialog->protocol);
 	}
+	else {
+		/* Protocol */
+		gaim_account_set_protocol(dialog->account, dialog->protocol);
+	}
 
 	/* Alias */
 	value = gtk_entry_get_text(GTK_ENTRY(dialog->alias_entry));