diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-07-04 21:55:30 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:08:34 +0800 |
commit | 6c54eecdf8d900f3297176d43485c512c353493f (patch) | |
tree | 74123007ed5fdc4cf97ba6eed0309961bcb90038 /plugins/publish-calendar/publish-calendar.c | |
parent | 16f35f7d67c51da14c9a9b643758407d2e965825 (diff) | |
download | gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.gz gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.bz2 gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.lz gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.xz gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.zst gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.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); |