aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-07-07 10:02:24 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:08:34 +0800
commitfdd55db9846ac7b16e4530cd0bb7d72fa48f0356 (patch)
treeadada0ed37e334f2d49c97783b86b65d21af0c76
parent189b37729211bb63a89ffef8e8f3e218b3d2cc1e (diff)
downloadgsoc2013-evolution-fdd55db9846ac7b16e4530cd0bb7d72fa48f0356.tar
gsoc2013-evolution-fdd55db9846ac7b16e4530cd0bb7d72fa48f0356.tar.gz
gsoc2013-evolution-fdd55db9846ac7b16e4530cd0bb7d72fa48f0356.tar.bz2
gsoc2013-evolution-fdd55db9846ac7b16e4530cd0bb7d72fa48f0356.tar.lz
gsoc2013-evolution-fdd55db9846ac7b16e4530cd0bb7d72fa48f0356.tar.xz
gsoc2013-evolution-fdd55db9846ac7b16e4530cd0bb7d72fa48f0356.tar.zst
gsoc2013-evolution-fdd55db9846ac7b16e4530cd0bb7d72fa48f0356.zip
online-accounts: Give Google calendars a color.
-rw-r--r--modules/online-accounts/e-online-accounts-google.c5
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;
}