Commit afbdb0a0 authored by Daiki Ueno's avatar Daiki Ueno

ssh-agent: Don't be too verbose on password prompt

This partially reverts the change in 869b5c6d, so as not to display
duplicate words on the password prompt.

https://bugzilla.gnome.org/show_bug.cgi?id=794500
parent e3602380
......@@ -251,11 +251,9 @@ ensure_key (GkdSshAgentService *self,
unique = g_strdup_printf ("ssh-store:%s", info->filename);
g_hash_table_insert (fields, "unique", unique);
label = g_strdup_printf (_("Unlock password for: %s"),
info->comment[0] != '\0' ? info->comment : _("Unnamed"));
label = info->comment[0] != '\0' ? info->comment : _("Unnamed");
interaction = gkd_login_interaction_new (self->interaction, NULL, label, fields);
g_free (label);
askpass = gcr_ssh_askpass_new (interaction);
g_object_unref (interaction);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment