[evolution/account-mgmt: 8/50] 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/50] Adapt libessmime to the new e-passwords API.
- Date: Sat, 1 Oct 2011 15:48:06 +0000 (UTC)
commit f18436e47bcb7bd4da379ccd70be7410f30cd837
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 9b95668..550872c 100644
--- a/smime/lib/e-pkcs12.c
+++ b/smime/lib/e-pkcs12.c
@@ -206,7 +206,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]