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 /capplet | |
parent | 16f35f7d67c51da14c9a9b643758407d2e965825 (diff) | |
download | gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.gz gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.zst gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.zip |
Adapt to CamelSession and e-passwords changes.
Diffstat (limited to 'capplet')
-rw-r--r-- | capplet/settings/mail-account-view.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/capplet/settings/mail-account-view.c b/capplet/settings/mail-account-view.c index 6328dbcd02..0290cd739e 100644 --- a/capplet/settings/mail-account-view.c +++ b/capplet/settings/mail-account-view.c @@ -278,7 +278,7 @@ setup_yahoo_account (MailAccountView *mav) abs_uri = g_strdup_printf ("caldav://%s@caldav.calendar.yahoo.com/dav/%s/Calendar/%s/", sanitize_uname, email, gtk_entry_get_text((GtkEntry *)mav->priv->yahoo_cal_entry)); e_passwords_add_password (abs_uri, gtk_entry_get_text ((GtkEntry *) mav->password)); - e_passwords_remember_password ("Calendar", abs_uri); + e_passwords_remember_password (NULL, abs_uri); rel_uri = g_strdup_printf (YAHOO_CALENDAR_LOCATION, sanitize_uname, email, gtk_entry_get_text ((GtkEntry *) mav->priv->yahoo_cal_entry)); e_source_set_relative_uri (calendar, rel_uri); @@ -328,7 +328,7 @@ setup_yahoo_account (MailAccountView *mav) rel_uri = g_strdup_printf("google://%s/", mav->priv->username); e_passwords_add_password (rel_uri, gtk_entry_get_text ((GtkEntry *) mav->password)); - e_passwords_remember_password ("Addressbook", rel_uri); + e_passwords_remember_password (NULL, rel_uri); e_source_group_add_source (sgrp, abook, -1); e_source_list_sync (slist, NULL); @@ -379,7 +379,7 @@ setup_google_accounts (MailAccountView *mav) e_source_set_absolute_uri (calendar, abs_uri); e_passwords_add_password (abs_uri, gtk_entry_get_text ((GtkEntry *) mav->password)); - e_passwords_remember_password ("Calendar", abs_uri); + e_passwords_remember_password (NULL, abs_uri); rel_uri = g_strconcat ("https", GMAIL_CALENDAR_LOCATION, sanitize_uname, CALENDAR_DEFAULT_PATH, NULL); e_source_set_relative_uri (calendar, rel_uri); @@ -447,7 +447,7 @@ setup_google_accounts (MailAccountView *mav) rel_uri = g_strdup_printf ("google://%s/", mav->priv->username); e_passwords_add_password (rel_uri, gtk_entry_get_text ((GtkEntry *) mav->password)); - e_passwords_remember_password ("Addressbook", rel_uri); + e_passwords_remember_password (NULL, rel_uri); e_source_list_sync (slist, NULL); g_free (rel_uri); @@ -688,7 +688,7 @@ mav_next_pressed (GtkButton *button, MailAccountView *mav) aurl = camel_url_new (account->source->url, NULL); surl = camel_url_to_string (aurl, CAMEL_URL_HIDE_ALL); e_passwords_add_password (surl, gtk_entry_get_text ((GtkEntry *) mav->password)); - e_passwords_remember_password ("Mail", surl); + e_passwords_remember_password (NULL, surl); camel_url_free (aurl); g_free (surl); } |