From 99d492b8284fa467f2b8ad3e6b637e10258d1cc2 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 4 Jul 2011 09:55:30 -0400 Subject: Adapt to CamelSession and e-passwords changes. --- plugins/publish-calendar/publish-calendar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/publish-calendar/publish-calendar.c') diff --git a/plugins/publish-calendar/publish-calendar.c b/plugins/publish-calendar/publish-calendar.c index 3ea3747108..8fad76f79f 100644 --- a/plugins/publish-calendar/publish-calendar.c +++ b/plugins/publish-calendar/publish-calendar.c @@ -322,14 +322,14 @@ ask_password (GMountOperation *op, const gchar *message, const gchar *default_us euri = e_uri_new (ms->uri->location); username = euri->user; - password = e_passwords_get_password ("Calendar", ms->uri->location); + password = e_passwords_get_password (NULL, ms->uri->location); req_pass = ((username && *username) && !(ms->uri->service_type == TYPE_ANON_FTP && !strcmp (username, "anonymous"))) ? TRUE:FALSE; if (!password && req_pass) { gboolean remember = FALSE; - password = e_passwords_ask_password (_("Enter password"), "", ms->uri->location, message, + password = e_passwords_ask_password (_("Enter password"), NULL, ms->uri->location, message, E_PASSWORDS_REMEMBER_FOREVER|E_PASSWORDS_SECRET|E_PASSWORDS_ONLINE, &remember, NULL); -- cgit v1.2.3