[gnome-keyring] [secrets] Fix prompt text when prompting for changing password.



commit 9b8128b2fb3f9a9f3069f3be5bc368258968087c
Author: Stef Walter <stef memberwebs com>
Date:   Sun Jan 3 20:32:25 2010 +0000

    [secrets] Fix prompt text when prompting for changing password.

 daemon/dbus/gkd-secret-change.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/daemon/dbus/gkd-secret-change.c b/daemon/dbus/gkd-secret-change.c
index 9ca895d..c9c6004 100644
--- a/daemon/dbus/gkd-secret-change.c
+++ b/daemon/dbus/gkd-secret-change.c
@@ -82,7 +82,10 @@ prepare_change_prompt (GkdSecretChange *self, GP11Object *collection)
 	gkd_prompt_reset (prompt);
 
 	gkd_prompt_set_title (prompt, _("Change Keyring Password"));
-	gkd_prompt_set_primary_text (prompt, _("Choose a new password for the '%s' keyring"));
+
+	text = g_markup_printf_escaped (_("Choose a new password for the '%s' keyring"), label);
+	gkd_prompt_set_primary_text (prompt, text);
+	g_free (text);
 
 	text = g_markup_printf_escaped (_("An application wants to change the password for the '%s' keyring. "
 	                                  "Choose the new password you want to use for it."), label);



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