changeset 8236:a8431dd66cc5

[gaim-migrate @ 8959] Man, I don't want to explain this one. But I will. For Luke. BECAUSE I CARE. Yaaaaaaayyyyy Luke. Anyway, the accounts drop down box in the "Add a Buddy Pounce" dialog... It only shows only accounts, right? Unfortunately the default account was the top account in the account editor--whether it is online or offline. This patch makes the default account be the top ONLINE account. Oh, and even though the dialog LOOKED right before this change, the actual value of account was incorrect. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 12 Feb 2004 05:56:16 +0000
parents 63c7a16a2c09
children 9200bee593e8
files src/gtkpounce.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkpounce.c	Thu Feb 12 05:26:52 2004 +0000
+++ b/src/gtkpounce.c	Thu Feb 12 05:56:16 2004 +0000
@@ -321,7 +321,7 @@
 	}
 	else {
 		dialog->pounce  = NULL;
-		dialog->account = gaim_accounts_get_all()->data;
+		dialog->account = gaim_connection_get_account((GaimConnection *)gaim_connections_get_all()->data);
 	}
 
 	sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);