diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-07-04 21:55:30 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-07-04 22:20:54 +0800 |
commit | 99d492b8284fa467f2b8ad3e6b637e10258d1cc2 (patch) | |
tree | eeabd62681bd3cbf0e903c509dbafeec75f804d1 /plugins/publish-calendar/publish-calendar.c | |
parent | 56e3e6818693118b1a33c682ff71ec7d561c46d1 (diff) | |
download | gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar.gz gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar.bz2 gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar.lz gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar.xz gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar.zst gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.zip |
Adapt to CamelSession and e-passwords changes.
Diffstat (limited to 'plugins/publish-calendar/publish-calendar.c')
-rw-r--r-- | plugins/publish-calendar/publish-calendar.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |