diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-07-07 10:02:24 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-07-07 10:02:24 +0800 |
commit | 68b0c521cdb22ee756ee3fdbd709843bf63c6004 (patch) | |
tree | 9a99cb58e001f09a061bb8d6e962f8aec8eb28dd | |
parent | 52d27cacaf5fc469c89266c49253828b9ec80124 (diff) | |
download | gsoc2013-evolution-68b0c521cdb22ee756ee3fdbd709843bf63c6004.tar.gz gsoc2013-evolution-68b0c521cdb22ee756ee3fdbd709843bf63c6004.tar.zst gsoc2013-evolution-68b0c521cdb22ee756ee3fdbd709843bf63c6004.zip |
online-accounts: Give Google calendars a color.
-rw-r--r-- | modules/online-accounts/e-online-accounts-google.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/online-accounts/e-online-accounts-google.c b/modules/online-accounts/e-online-accounts-google.c index 4a70730ca3..b35fd53f57 100644 --- a/modules/online-accounts/e-online-accounts-google.c +++ b/modules/online-accounts/e-online-accounts-google.c @@ -290,6 +290,11 @@ online_accounts_google_sync_calendar (GoaObject *goa_object, source = g_object_new (E_TYPE_SOURCE, NULL); source->priv->uid = g_strdup (evo_id); e_source_set_name (source, _("Calendar")); + + /* XXX Choose a fixed color from the list in + * calendar-setup.c. I like purple. */ + e_source_set_color_spec (source, "#E2C6E1"); + new_source = TRUE; } |