[evolution/account-mgmt: 8/49] Adapt libessmime to the new e-passwords API.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/account-mgmt: 8/49] Adapt libessmime to the new e-passwords API.
- Date: Thu, 27 Oct 2011 02:50:21 +0000 (UTC)
commit cc931584a61dd064ca2f7445299d572864e1ad0e
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Dec 7 15:44:49 2010 -0600
Adapt libessmime to the new e-passwords API.
smime/gui/component.c | 4 ++--
smime/lib/e-pkcs12.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/smime/gui/component.c b/smime/gui/component.c
index fcbb9fa..28cfd19 100644
--- a/smime/gui/component.c
+++ b/smime/gui/component.c
@@ -51,7 +51,7 @@ smime_pk11_passwd (ECertDB *db,
g_free (slot_name);
*passwd = e_passwords_ask_password (
- _("Enter password"), NULL, "", prompt,
+ NULL, _("Enter password"), prompt,
E_PASSWORDS_REMEMBER_NEVER | E_PASSWORDS_SECRET,
NULL, NULL);
@@ -76,7 +76,7 @@ smime_pk11_change_passwd (ECertDB *db,
prompt = _("Enter new password for certificate database");
*passwd = e_passwords_ask_password (
- _("Enter new password"), NULL, "", prompt,
+ NULL, _("Enter new password"), 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 5f7a73c..be44d9c 100644
--- a/smime/lib/e-pkcs12.c
+++ b/smime/lib/e-pkcs12.c
@@ -204,7 +204,7 @@ prompt_for_password (gchar *title,
gchar *passwd;
passwd = e_passwords_ask_password (
- title, NULL, "", prompt,
+ NULL, title, prompt,
E_PASSWORDS_REMEMBER_NEVER | E_PASSWORDS_SECRET,
NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]