changeset 9631:71c31e4505fd

[gaim-migrate @ 10475] Thanks to Jon Oberheide for this patch. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 01 Aug 2004 04:50:33 +0000
parents 487eeae9dc7e
children 885bba4f9d3b
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sun Aug 01 04:46:15 2004 +0000
+++ b/src/protocols/oscar/oscar.c	Sun Aug 01 04:50:33 2004 +0000
@@ -6733,6 +6733,7 @@
 	GaimGroup *g;
 	char *comment;
 	gchar *comment_utf8;
+	gchar *title;
 
 	g_return_if_fail(GAIM_BLIST_NODE_IS_BUDDY(node));
 
@@ -6751,11 +6752,13 @@
 	data->name = g_strdup(buddy->name);
 	data->nick = NULL;
 
-	gaim_request_input(gc, NULL, _("Buddy Comment:"), NULL,
+	title = g_strdup_printf(_("Buddy Comment for %s"), data->name);
+	gaim_request_input(gc, title, _("Buddy Comment:"), NULL,
 					   comment_utf8, TRUE, FALSE, NULL,
 					   _("OK"), G_CALLBACK(oscar_ssi_editcomment),
 					   _("Cancel"), G_CALLBACK(oscar_free_name_data),
 					   data);
+	g_free(title);
 
 	free(comment);
 	g_free(comment_utf8);