changeset 6111:77dcc775f97b

[gaim-migrate @ 6573] Change "Please enter your password" to "Enter password for [account name]" committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 13 Jul 2003 18:57:34 +0000
parents d1d8e70cf33d
children a22c151463e1
files src/connection.c
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/connection.c	Sun Jul 13 18:43:30 2003 +0000
+++ b/src/connection.c	Sun Jul 13 18:57:34 2003 +0000
@@ -118,12 +118,14 @@
 		!(prpl_info->options & OPT_PROTO_PASSWORD_OPTIONAL) &&
 		gaim_account_get_password(account) == NULL) {
 
+		gchar *primary;
 		gaim_debug(GAIM_DEBUG_INFO, "connection", "Requesting password\n");
-
-		gaim_request_input(gc, NULL, _("Please enter your password"), NULL, 
-						   NULL, FALSE, TRUE,
+		primary = g_strdup_printf(_("Enter password for %s"),
+								 gaim_account_get_username(account));
+		gaim_request_input(gc, NULL, primary, NULL, NULL, FALSE, TRUE,
 						   _("OK"), G_CALLBACK(request_pass_ok_cb),
 						   _("Cancel"), NULL, account);
+		g_free(primary);
 		gaim_connection_destroy(gc);
 
 		return;