From 261d697aed9f26fe6ffbf192d1e24714b69a4d47 Mon Sep 17 00:00:00 2001 From: Veerapuram Varadhan Date: Mon, 31 Jul 2006 11:08:17 +0000 Subject: ** Fixes #334848 * lib/e-pkcs12.c (prompt_for_password): * gui/component.c (smime_pk11_passwd), (smime_pk11_change_passwd): Do not pass NULL for the domain parameter of e_passwords_ask_password. svn path=/trunk/; revision=32451 --- smime/gui/component.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'smime/gui') diff --git a/smime/gui/component.c b/smime/gui/component.c index a603529459..6e424b3c67 100644 --- a/smime/gui/component.c +++ b/smime/gui/component.c @@ -47,7 +47,7 @@ smime_pk11_passwd (ECertDB *db, PK11SlotInfo* slot, gboolean retry, char **passw prompt = g_strdup_printf (_("Enter the password for `%s'"), slot_name); g_free (slot_name); - *passwd = e_passwords_ask_password (_("Enter password"), NULL, NULL, + *passwd = e_passwords_ask_password (_("Enter password"), "SMIME-PKCS11", NULL, prompt, E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL, NULL); @@ -69,7 +69,7 @@ smime_pk11_change_passwd (ECertDB *db, char **old_passwd, char **passwd, gpointe /* we're setting the password initially */ prompt = _("Enter new password for certificate database"); - *passwd = e_passwords_ask_password (_("Enter new password"), NULL, NULL, + *passwd = e_passwords_ask_password (_("Enter new password"), "SMIME-PKCS11", NULL, prompt, E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL, NULL); -- cgit