aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-03-30 04:04:52 +0800
committerHans Petter <hansp@src.gnome.org>2003-03-30 04:04:52 +0800
commit470bb0bff4c3623434b12e55a4934c84defee615 (patch)
treed81ffe3cc79bcf3a46f1dab27ca36c7f367daadd /calendar/gui/e-day-view.c
parente72c115df8321539521d1e1e793e27082c4d94b1 (diff)
downloadgsoc2013-evolution-470bb0bff4c3623434b12e55a4934c84defee615.tar
gsoc2013-evolution-470bb0bff4c3623434b12e55a4934c84defee615.tar.gz
gsoc2013-evolution-470bb0bff4c3623434b12e55a4934c84defee615.tar.bz2
gsoc2013-evolution-470bb0bff4c3623434b12e55a4934c84defee615.tar.lz
gsoc2013-evolution-470bb0bff4c3623434b12e55a4934c84defee615.tar.xz
gsoc2013-evolution-470bb0bff4c3623434b12e55a4934c84defee615.tar.zst
gsoc2013-evolution-470bb0bff4c3623434b12e55a4934c84defee615.zip
Fixes #39895
2003-03-29 Not Zed <NotZed@Ximian.com> Fixes #39895 * gui/e-day-view.h (EDayViewColors): add an unfocussed colour to draw the selection in when we're not focussed. * gui/e-day-view.c (e_day_view_realize): Initialise E_DAY_VIEW_COLOR_BG_SELECTED_UNFOCUSSED to be 1/2 saturation of the focussed colour. * gui/e-day-view-main-item.c (e_day_view_main_item_draw): Use the UFOCUSSED colour if we aren't focussed, rather than just not drawing anything. svn path=/trunk/; revision=20579
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index d43d0f71ed..d557b43c5c 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -977,6 +977,10 @@ e_day_view_realize (GtkWidget *widget)
day_view->colors[E_DAY_VIEW_COLOR_BG_SELECTED].green = 0 * 257;
day_view->colors[E_DAY_VIEW_COLOR_BG_SELECTED].blue = 156 * 257;
+ day_view->colors[E_DAY_VIEW_COLOR_BG_SELECTED_UNFOCUSSED].red = 16 * 257;
+ day_view->colors[E_DAY_VIEW_COLOR_BG_SELECTED_UNFOCUSSED].green = 78 * 257;
+ day_view->colors[E_DAY_VIEW_COLOR_BG_SELECTED_UNFOCUSSED].blue = 139 * 257;
+
day_view->colors[E_DAY_VIEW_COLOR_BG_GRID].red = 0x8000;
day_view->colors[E_DAY_VIEW_COLOR_BG_GRID].green = 0x8000;
day_view->colors[E_DAY_VIEW_COLOR_BG_GRID].blue = 0x8000;