changeset 6390:7788dd90cfe7

[gaim-migrate @ 6895] And fix it up a bit so the first account is the default. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 06 Aug 2003 09:05:08 +0000
parents c05c02b6bfc8
children 4b2d8d7d0118
files plugins/raw.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/raw.c	Wed Aug 06 09:03:09 2003 +0000
+++ b/plugins/raw.c	Wed Aug 06 09:05:08 2003 +0000
@@ -111,6 +111,9 @@
 	dropdown = gaim_gtk_account_option_menu_new(NULL, FALSE,
 			G_CALLBACK(account_changed_cb), NULL);
 
+	if (gaim_connections_get_all())
+		account = (GaimAccount *)gaim_connections_get_all()->data;
+
 	gtk_box_pack_start(GTK_BOX(hbox), dropdown, FALSE, FALSE, 0);
 
 	/* Entry box */