[gnome-keyring] ssh-agent: Don't be too verbose on password prompt



commit afbdb0a04b3c737003a3dc0cec0095ba0c2256c2
Author: Daiki Ueno <dueno src gnome org>
Date:   Tue Mar 20 03:36:12 2018 +0100

    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

 daemon/ssh-agent/gkd-ssh-agent-service.c |    4 +---
 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 8f38543..a9f74ab 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]