File gnome-keyring-896818-reduce-head-msg-length.patch of Package gnome-keyring

From 360b5fd80cd0cf1311bef8abce84a76ec3588d79 Mon Sep 17 00:00:00 2001
From: Felix Zhang <fezhang@suse.com>
Date: Sat, 20 Aug 2016 22:23:30 +0800
Subject: [PATCH] shorten unlock keyring dialog title

---
 pkcs11/wrap-layer/gkm-wrap-prompt.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pkcs11/wrap-layer/gkm-wrap-prompt.c b/pkcs11/wrap-layer/gkm-wrap-prompt.c
index 3d3d4f5..5d0548a 100644
--- a/pkcs11/wrap-layer/gkm-wrap-prompt.c
+++ b/pkcs11/wrap-layer/gkm-wrap-prompt.c
@@ -615,9 +615,8 @@ setup_unlock_keyring_other (GkmWrapPrompt *self,
 
 	gcr_prompt_set_title (prompt, _("Unlock Keyring"));
 
-	text = g_markup_printf_escaped (_("Enter password for keyring '%s' to unlock"), label);
+	text = _("Enter password to unlock");
 	gcr_prompt_set_message (prompt, text);
-	g_free (text);
 
 	text = g_markup_printf_escaped (_("An application wants access to the keyring '%s', but it is locked"), label);
 	gcr_prompt_set_description (prompt, text);
-- 
2.6.6

openSUSE Build Service is sponsored by