Mercurial > pidgin
comparison src/connection.c @ 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 | 30d4c432101c |
comparison
equal
deleted
inserted
replaced
6110:d1d8e70cf33d | 6111:77dcc775f97b |
---|---|
116 | 116 |
117 if (!(prpl_info->options & OPT_PROTO_NO_PASSWORD) && | 117 if (!(prpl_info->options & OPT_PROTO_NO_PASSWORD) && |
118 !(prpl_info->options & OPT_PROTO_PASSWORD_OPTIONAL) && | 118 !(prpl_info->options & OPT_PROTO_PASSWORD_OPTIONAL) && |
119 gaim_account_get_password(account) == NULL) { | 119 gaim_account_get_password(account) == NULL) { |
120 | 120 |
121 gchar *primary; | |
121 gaim_debug(GAIM_DEBUG_INFO, "connection", "Requesting password\n"); | 122 gaim_debug(GAIM_DEBUG_INFO, "connection", "Requesting password\n"); |
122 | 123 primary = g_strdup_printf(_("Enter password for %s"), |
123 gaim_request_input(gc, NULL, _("Please enter your password"), NULL, | 124 gaim_account_get_username(account)); |
124 NULL, FALSE, TRUE, | 125 gaim_request_input(gc, NULL, primary, NULL, NULL, FALSE, TRUE, |
125 _("OK"), G_CALLBACK(request_pass_ok_cb), | 126 _("OK"), G_CALLBACK(request_pass_ok_cb), |
126 _("Cancel"), NULL, account); | 127 _("Cancel"), NULL, account); |
128 g_free(primary); | |
127 gaim_connection_destroy(gc); | 129 gaim_connection_destroy(gc); |
128 | 130 |
129 return; | 131 return; |
130 } | 132 } |
131 | 133 |