From 99d492b8284fa467f2b8ad3e6b637e10258d1cc2 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 4 Jul 2011 09:55:30 -0400 Subject: Adapt to CamelSession and e-passwords changes. --- smime/gui/component.c | 4 ++-- smime/lib/e-pkcs12.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'smime') diff --git a/smime/gui/component.c b/smime/gui/component.c index 0b7a679ee2..fbd6d75a78 100644 --- a/smime/gui/component.c +++ b/smime/gui/component.c @@ -46,7 +46,7 @@ smime_pk11_passwd (ECertDB *db, PK11SlotInfo* slot, gboolean retry, gchar **pass prompt = g_strdup_printf (_("Enter the password for '%s'"), slot_name); g_free (slot_name); - *passwd = e_passwords_ask_password (_("Enter password"), "SMIME-PKCS11", "", + *passwd = e_passwords_ask_password (_("Enter password"), NULL, "", prompt, E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL, NULL); @@ -68,7 +68,7 @@ smime_pk11_change_passwd (ECertDB *db, gchar **old_passwd, gchar **passwd, gpoin /* we're setting the password initially */ prompt = _("Enter new password for certificate database"); - *passwd = e_passwords_ask_password (_("Enter new password"), "SMIME-PKCS11", "", + *passwd = e_passwords_ask_password (_("Enter new password"), NULL, "", prompt, E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL, NULL); diff --git a/smime/lib/e-pkcs12.c b/smime/lib/e-pkcs12.c index ed7e6a65c1..f4fa995207 100644 --- a/smime/lib/e-pkcs12.c +++ b/smime/lib/e-pkcs12.c @@ -201,7 +201,7 @@ prompt_for_password (gchar *title, gchar *prompt, SECItem *pwd) { gchar *passwd; - passwd = e_passwords_ask_password (title, "SMIME-PKCS12", "", prompt, + passwd = e_passwords_ask_password (title, NULL, "", prompt, E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL, NULL); -- cgit