diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-06-28 02:23:01 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:08:33 +0800 |
commit | f0f74c407bab7aac50cdf9e4a29259e8f0610284 (patch) | |
tree | 2ffc841b9ec22ce444322e59ad7516b1e872b325 /modules | |
parent | 19307b54bc826cebbdea8cd7e1cdd8499bc1076f (diff) | |
download | gsoc2013-evolution-f0f74c407bab7aac50cdf9e4a29259e8f0610284.tar gsoc2013-evolution-f0f74c407bab7aac50cdf9e4a29259e8f0610284.tar.gz gsoc2013-evolution-f0f74c407bab7aac50cdf9e4a29259e8f0610284.tar.bz2 gsoc2013-evolution-f0f74c407bab7aac50cdf9e4a29259e8f0610284.tar.lz gsoc2013-evolution-f0f74c407bab7aac50cdf9e4a29259e8f0610284.tar.xz gsoc2013-evolution-f0f74c407bab7aac50cdf9e4a29259e8f0610284.tar.zst gsoc2013-evolution-f0f74c407bab7aac50cdf9e4a29259e8f0610284.zip |
online-accounts: Set GoaAccount ID in calendar and contact sources.
Forgot that part... kind of important.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/online-accounts/e-online-accounts-google.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/online-accounts/e-online-accounts-google.c b/modules/online-accounts/e-online-accounts-google.c index 32280792dc..4a70730ca3 100644 --- a/modules/online-accounts/e-online-accounts-google.c +++ b/modules/online-accounts/e-online-accounts-google.c @@ -311,6 +311,9 @@ online_accounts_google_sync_calendar (GoaObject *goa_object, * will authenticate itself if it sees a GOA ID. */ e_source_set_property (source, "auth", "1"); + string = goa_account_get_id (goa_account); + e_source_set_property (source, GOA_KEY, string); + if (new_source) { e_source_group_add_source (source_group, source, -1); g_object_unref (source); @@ -368,6 +371,9 @@ online_accounts_google_sync_contacts (GoaObject *goa_object, * will authenticate itself if it sees a GOA ID. */ e_source_set_property (source, "auth", "plain/password"); + string = goa_account_get_id (goa_account); + e_source_set_property (source, GOA_KEY, string); + if (new_source) { e_source_group_add_source (source_group, source, -1); g_object_unref (source); |