From f525838816519b904aa95331306fa56c9a4b586c Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 27 Jun 2011 14:23:01 -0400 Subject: online-accounts: Set GoaAccount ID in calendar and contact sources. Forgot that part... kind of important. --- modules/online-accounts/e-online-accounts-google.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/online-accounts/e-online-accounts-google.c') 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); -- cgit v1.2.3