changeset 6352:3381f1a85d8f

[gaim-migrate @ 6851] When being added to someone's buddy list and clicking Authorize, and then clicking the Add button on the proceeding dialog to add them to your list, the account drop-down menu would always show the first signed-on account, instead of the one that was added that you authorized. Did that make sense? Well, it's fixed either way. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 01 Aug 2003 03:43:47 +0000
parents ffb1b5003772
children 9b2c2495687a
files src/dialogs.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Thu Jul 31 23:49:12 2003 +0000
+++ b/src/dialogs.c	Fri Aug 01 03:43:47 2003 +0000
@@ -963,7 +963,8 @@
 	gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
 	gtk_table_attach_defaults(GTK_TABLE(table), label, 0, 1, 3, 4);
 
-	a->account = gaim_gtk_account_option_menu_new(NULL, FALSE,
+	a->account = gaim_gtk_account_option_menu_new(
+			gaim_connection_get_account(gc), FALSE,
 			G_CALLBACK(addbuddy_select_account), a);
 
 	gtk_table_attach_defaults(GTK_TABLE(table), a->account, 1, 2, 3, 4);