[evolution/wip/gsettings] online-accounts: Give Google calendars a color.
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] online-accounts: Give Google calendars a color.
- Date: Wed, 14 Sep 2011 12:15:29 +0000 (UTC)
commit fdd55db9846ac7b16e4530cd0bb7d72fa48f0356
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Jul 6 22:02:24 2011 -0400
online-accounts: Give Google calendars a color.
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 4a70730..b35fd53 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]