aboutsummaryrefslogtreecommitdiffstats
path: root/smime
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-07-04 21:55:30 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:08:34 +0800
commit6c54eecdf8d900f3297176d43485c512c353493f (patch)
tree74123007ed5fdc4cf97ba6eed0309961bcb90038 /smime
parent16f35f7d67c51da14c9a9b643758407d2e965825 (diff)
downloadgsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar
gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.gz
gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.bz2
gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.lz
gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.xz
gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.zst
gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.zip
Adapt to CamelSession and e-passwords changes.
Diffstat (limited to 'smime')
-rw-r--r--smime/gui/component.c4
-rw-r--r--smime/lib/e-pkcs12.c2
2 files changed, 3 insertions, 3 deletions
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);