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 /capplet | |
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 '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); } |