aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/common/authentication.c4
-rw-r--r--calendar/gui/e-pub-utils.c8
3 files changed, 11 insertions, 6 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 0c74a4f539..66a00a5420 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-10 Not Zed <NotZed@Ximian.com>
+
+ * gui/e-pub-utils.c (e_pub_publish):
+ * common/authentication.c (auth_func_cb): epasswords api change.
+
2004-08-11 JP Rosevear <jpr@ximian.com>
Fixes #61555
diff --git a/calendar/common/authentication.c b/calendar/common/authentication.c
index 663b17dc61..418d71a7b3 100644
--- a/calendar/common/authentication.c
+++ b/calendar/common/authentication.c
@@ -45,8 +45,8 @@ auth_func_cb (ECal *ecal, const char *prompt, const char *key, gpointer user_dat
password = e_passwords_get_password (component_name, key);
if (!password)
- password = e_passwords_ask_password (_("Enter password"), component_name, key, prompt, TRUE,
- E_PASSWORDS_REMEMBER_FOREVER, &remember,
+ password = e_passwords_ask_password (_("Enter password"), component_name, key, prompt,
+ E_PASSWORDS_REMEMBER_FOREVER|E_PASSWORDS_SECRET, &remember,
NULL);
return password;
diff --git a/calendar/gui/e-pub-utils.c b/calendar/gui/e-pub-utils.c
index a206d43706..0a1a390694 100644
--- a/calendar/gui/e-pub-utils.c
+++ b/calendar/gui/e-pub-utils.c
@@ -299,10 +299,10 @@ e_pub_publish (gboolean publish) {
if (!password) {
prompt = g_strdup_printf (_("Enter the password for %s"), (gchar *)uri->location);
password = e_passwords_ask_password (_("Enter password"),
- "Calendar", (gchar *)uri->location,
- prompt, TRUE,
- E_PASSWORDS_REMEMBER_FOREVER,
- &remember, NULL);
+ "Calendar", (gchar *)uri->location,
+ prompt,
+ E_PASSWORDS_REMEMBER_FOREVER|E_PASSWORDS_SECRET,
+ &remember, NULL);
g_free (prompt);