aboutsummaryrefslogtreecommitdiffstats
path: root/smime
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-09-27 13:13:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-09-27 21:31:13 +0800
commite2b6ff7a6c1e1580c26ee0719b349151e8dad6fd (patch)
treed2d2ce8eb509717d412ad3171059e470ff0e7030 /smime
parentc520043a094d81d222aa0c3e23b0035ddb89d0bf (diff)
downloadgsoc2013-evolution-e2b6ff7a6c1e1580c26ee0719b349151e8dad6fd.tar
gsoc2013-evolution-e2b6ff7a6c1e1580c26ee0719b349151e8dad6fd.tar.gz
gsoc2013-evolution-e2b6ff7a6c1e1580c26ee0719b349151e8dad6fd.tar.bz2
gsoc2013-evolution-e2b6ff7a6c1e1580c26ee0719b349151e8dad6fd.tar.lz
gsoc2013-evolution-e2b6ff7a6c1e1580c26ee0719b349151e8dad6fd.tar.xz
gsoc2013-evolution-e2b6ff7a6c1e1580c26ee0719b349151e8dad6fd.tar.zst
gsoc2013-evolution-e2b6ff7a6c1e1580c26ee0719b349151e8dad6fd.zip
Miscellaneous cleanups from the account-mgmt branch.
Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
Diffstat (limited to 'smime')
-rw-r--r--smime/gui/component.c16
-rw-r--r--smime/lib/e-pkcs12.c7
2 files changed, 12 insertions, 11 deletions
diff --git a/smime/gui/component.c b/smime/gui/component.c
index 091ebeefe8..fcbb9faf9f 100644
--- a/smime/gui/component.c
+++ b/smime/gui/component.c
@@ -50,10 +50,10 @@ smime_pk11_passwd (ECertDB *db,
prompt = g_strdup_printf (_("Enter the password for '%s'"), slot_name);
g_free (slot_name);
- *passwd = e_passwords_ask_password (_("Enter password"), NULL, "",
- prompt,
- E_PASSWORDS_REMEMBER_NEVER | E_PASSWORDS_SECRET, NULL,
- NULL);
+ *passwd = e_passwords_ask_password (
+ _("Enter password"), NULL, "", prompt,
+ E_PASSWORDS_REMEMBER_NEVER | E_PASSWORDS_SECRET,
+ NULL, NULL);
g_free (prompt);
@@ -75,10 +75,10 @@ smime_pk11_change_passwd (ECertDB *db,
/* we're setting the password initially */
prompt = _("Enter new password for certificate database");
- *passwd = e_passwords_ask_password (_("Enter new password"), NULL, "",
- prompt,
- E_PASSWORDS_REMEMBER_NEVER | E_PASSWORDS_SECRET, NULL,
- NULL);
+ *passwd = e_passwords_ask_password (
+ _("Enter new password"), NULL, "", prompt,
+ E_PASSWORDS_REMEMBER_NEVER | E_PASSWORDS_SECRET,
+ NULL, NULL);
}
else {
/* we're changing the password */
diff --git a/smime/lib/e-pkcs12.c b/smime/lib/e-pkcs12.c
index 959924e69d..9b95668135 100644
--- a/smime/lib/e-pkcs12.c
+++ b/smime/lib/e-pkcs12.c
@@ -205,9 +205,10 @@ prompt_for_password (gchar *title,
{
gchar *passwd;
- passwd = e_passwords_ask_password (title, NULL, "", prompt,
- E_PASSWORDS_REMEMBER_NEVER | E_PASSWORDS_SECRET, NULL,
- NULL);
+ passwd = e_passwords_ask_password (
+ title, NULL, "", prompt,
+ E_PASSWORDS_REMEMBER_NEVER | E_PASSWORDS_SECRET,
+ NULL, NULL);
if (passwd) {
gsize len = strlen (passwd);