changeset 16938:43abb4942a6d

Select the right account when adding a buddy after authorizing her.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 07 May 2007 18:12:31 +0000
parents 7e4a22162bb6
children bd0b946e6309
files finch/gntrequest.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntrequest.c	Mon May 07 18:10:39 2007 +0000
+++ b/finch/gntrequest.c	Mon May 07 18:12:31 2007 +0000
@@ -497,7 +497,9 @@
 				field->ui_data = combo;
 
 				all = purple_request_field_account_get_show_all(field);
-				def = purple_request_field_account_get_default_value(field);
+				def = purple_request_field_account_get_value(field);
+				if (!def)
+					def = purple_request_field_account_get_default_value(field);
 
 				if (all)
 					list = purple_accounts_get_all();