changeset 10830:692da861f43c

[gaim-migrate @ 12497] Fix pre-filling the screenname when adding a new person with the gevolution plugin committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 16 Apr 2005 16:28:44 +0000
parents dae370949a39
children ea65b2abd8d2
files plugins/gevolution/add_buddy_dialog.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/gevolution/add_buddy_dialog.c	Sat Apr 16 16:10:29 2005 +0000
+++ b/plugins/gevolution/add_buddy_dialog.c	Sat Apr 16 16:28:44 2005 +0000
@@ -71,7 +71,7 @@
 	group_name =
 		gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(dialog->group_combo)->entry));
 
-	gevo_new_person_dialog_show(dialog->book, NULL, dialog->account, NULL,
+	gevo_new_person_dialog_show(dialog->book, NULL, dialog->account, dialog->username,
 								(*group_name ? group_name : NULL),
 								NULL, FALSE);
 
@@ -109,7 +109,7 @@
 
 	if (username == NULL || *username == '\0')
 	{
-		gevo_new_person_dialog_show(dialog->book, NULL, dialog->account, NULL,
+		gevo_new_person_dialog_show(dialog->book, NULL, dialog->account, dialog->username,
 									(*group_name ? group_name : NULL),
 									NULL, FALSE);
 	}