aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-01-15 04:21:20 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-01-15 04:21:20 +0800
commitbde55a8d92780b10706dd0d942eab532fcb2ba91 (patch)
tree496b4a2057c6bbc1e855fae834ecf7109646a765 /calendar/gui/e-week-view.c
parentd54a3c91c587f2d481c8c52b1674210502acbe85 (diff)
downloadgsoc2013-evolution-bde55a8d92780b10706dd0d942eab532fcb2ba91.tar.gz
gsoc2013-evolution-bde55a8d92780b10706dd0d942eab532fcb2ba91.tar.zst
gsoc2013-evolution-bde55a8d92780b10706dd0d942eab532fcb2ba91.zip
figure out when today is and highlight if it is not selected
2002-01-14 JP Rosevear <jpr@ximian.com> * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): figure out when today is and highlight if it is not selected * gui/e-week-view.h: enum the "today" color * gui/e-week-view.c (e_week_view_realize): init the "today" color svn path=/trunk/; revision=15319
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r--calendar/gui/e-week-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index c9c4b4077e..7dd9d83cc3 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -593,6 +593,10 @@ e_week_view_realize (GtkWidget *widget)
week_view->colors[E_WEEK_VIEW_COLOR_DATES_SELECTED].green = 65535;
week_view->colors[E_WEEK_VIEW_COLOR_DATES_SELECTED].blue = 65535;
+ week_view->colors[E_WEEK_VIEW_COLOR_TODAY].red = 65535;
+ week_view->colors[E_WEEK_VIEW_COLOR_TODAY].green = 0;
+ week_view->colors[E_WEEK_VIEW_COLOR_TODAY].blue = 0;
+
nfailed = gdk_colormap_alloc_colors (colormap, week_view->colors,
E_WEEK_VIEW_COLOR_LAST, FALSE,
TRUE, success);