| 190 const gchar *username = gaim_account_get_username(account); |
190 const gchar *username = gaim_account_get_username(account); |
| 191 |
191 |
| 192 gaim_debug(GAIM_DEBUG_INFO, "connection", "Requesting password\n"); |
192 gaim_debug(GAIM_DEBUG_INFO, "connection", "Requesting password\n"); |
| 193 gaim_connection_destroy(gc); |
193 gaim_connection_destroy(gc); |
| 194 escaped = g_markup_escape_text(username, strlen(username)); |
194 escaped = g_markup_escape_text(username, strlen(username)); |
| 195 primary = g_strdup_printf(_("Enter password for %s"), escaped); |
195 primary = g_strdup_printf(_("Enter password for %s (%s)"), escaped, |
| |
196 gaim_account_get_protocol_name(account)); |
| 196 gaim_request_input(gc, NULL, primary, NULL, NULL, FALSE, TRUE, NULL, |
197 gaim_request_input(gc, NULL, primary, NULL, NULL, FALSE, TRUE, NULL, |
| 197 _("OK"), G_CALLBACK(request_pass_ok_cb), |
198 _("OK"), G_CALLBACK(request_pass_ok_cb), |
| 198 _("Cancel"), NULL, account); |
199 _("Cancel"), NULL, account); |
| 199 g_free(primary); |
200 g_free(primary); |
| 200 g_free(escaped); |
201 g_free(escaped); |