summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@src.gnome.org>2018-03-20 03:36:12 +0100
committerDaiki Ueno <dueno@src.gnome.org>2018-03-20 09:51:13 +0100
commitafbdb0a04b3c737003a3dc0cec0095ba0c2256c2 (patch)
tree54c6d34d86aa6b813b8806cb45825c2553dd08d7 /daemon
parente360238029de47cafa974f4e0c2bd4ec793cd84b (diff)
downloadgnome-keyring-afbdb0a04b3c737003a3dc0cec0095ba0c2256c2.tar.gz
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
Diffstat (limited to 'daemon')
-rw-r--r--daemon/ssh-agent/gkd-ssh-agent-service.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/daemon/ssh-agent/gkd-ssh-agent-service.c b/daemon/ssh-agent/gkd-ssh-agent-service.c
index 8f385437..a9f74ab3 100644
--- a/daemon/ssh-agent/gkd-ssh-agent-service.c
+++ b/daemon/ssh-agent/gkd-ssh-agent-service.c
@@ -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);