changeset 5955:235a14ae42f1

[gaim-migrate @ 6399] The protocol drop-down on the Add Account dialog is now updated when changed. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 25 Jun 2003 05:01:50 +0000
parents fccc33d4b8fa
children e2419e41d9f9
files src/gtkaccount.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkaccount.c	Wed Jun 25 04:20:30 2003 +0000
+++ b/src/gtkaccount.c	Wed Jun 25 05:01:50 2003 +0000
@@ -184,8 +184,10 @@
 set_account_protocol_cb(GtkWidget *item, GaimProtocol protocol,
 						  AccountPrefsDialog *dialog)
 {
-	if ((dialog->plugin = gaim_find_prpl(protocol)) != NULL)
+	if ((dialog->plugin = gaim_find_prpl(protocol)) != NULL) {
 		dialog->prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(dialog->plugin);
+		dialog->protocol = dialog->prpl_info->protocol;
+	}
 
 	dialog->protocol_id = dialog->plugin->info->id;