src/connection.c

changeset 9699
d1ca5dd91cc2
parent 9285
9cedf5d26577
child 9848
708a47f26faa
equal deleted inserted replaced
9698:d83c7c4b0ccc 9699:d1ca5dd91cc2
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);

mercurial