aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/online-accounts/e-online-accounts-google.c6
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);