aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-08-12 14:55:23 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-08-12 14:55:23 +0800
commit40075f5515c769393e3f5ffceef4d0f1136d10d8 (patch)
treedeb5033aa7a6d9eb4aca6f08cb989c6dcbf48d69
parentb837a54258f52311b9a3ad698126498abf2ca55d (diff)
downloadgsoc2013-evolution-40075f5515c769393e3f5ffceef4d0f1136d10d8.tar
gsoc2013-evolution-40075f5515c769393e3f5ffceef4d0f1136d10d8.tar.gz
gsoc2013-evolution-40075f5515c769393e3f5ffceef4d0f1136d10d8.tar.bz2
gsoc2013-evolution-40075f5515c769393e3f5ffceef4d0f1136d10d8.tar.lz
gsoc2013-evolution-40075f5515c769393e3f5ffceef4d0f1136d10d8.tar.xz
gsoc2013-evolution-40075f5515c769393e3f5ffceef4d0f1136d10d8.tar.zst
gsoc2013-evolution-40075f5515c769393e3f5ffceef4d0f1136d10d8.zip
epasswords api change.
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. svn path=/trunk/; revision=26882
-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);