[gaim-migrate @ 12497]

Sat, 16 Apr 2005 16:28:44 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Sat, 16 Apr 2005 16:28:44 +0000
changeset 10830
4b06c2ab8afc
parent 10829
c0b0e9771b31
child 10831
fbe1ff83d5a9

[gaim-migrate @ 12497]
Fix pre-filling the screenname when adding a new person with the gevolution
plugin

plugins/gevolution/add_buddy_dialog.c file | annotate | diff | comparison | revisions
--- 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);
 	}

mercurial