changeset 2628:4054a0849461

[gaim-migrate @ 2641] forgot about this part. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 27 Oct 2001 02:49:01 +0000
parents f119632012bc
children b74421e92d55
files src/multi.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/multi.c	Sat Oct 27 02:38:07 2001 +0000
+++ b/src/multi.c	Sat Oct 27 02:49:01 2001 +0000
@@ -247,6 +247,8 @@
 
 	a->options = u->options;
 	a->protocol = u->protocol;
+	txt = gtk_entry_get_text(GTK_ENTRY(u->name));
+	g_snprintf(a->username, sizeof(a->username), "%s", txt);
 	txt = gtk_entry_get_text(GTK_ENTRY(u->pass));
 	if (a->options & OPT_USR_REM_PASS)
 		g_snprintf(a->password, sizeof(a->password), "%s", txt);
@@ -254,6 +256,7 @@
 		a->password[0] = '\0';
 
 	i = gtk_clist_find_row_from_data(GTK_CLIST(list), a);
+	gtk_clist_set_text(GTK_CLIST(list), i, 0, a->username);
 	gtk_clist_set_text(GTK_CLIST(list), i, 2,
 			   (a->options & OPT_USR_AUTO) ? "True" : "False");
 	gtk_clist_set_text(GTK_CLIST(list), i, 3, proto_name(a->protocol));