[gnome-calendar] year-view: fix all-day events
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] year-view: fix all-day events
- Date: Thu, 22 Jan 2015 19:06:36 +0000 (UTC)
commit bb41d9dc76c711fef3e449e990e1bb549bedd8f4
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Thu Jan 22 14:02:06 2015 -0500
year-view: fix all-day events
icaltime_compare() keeps doing its own work as it see fits
src/gcal-year-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-year-view.c b/src/gcal-year-view.c
index 3ed330f..bbc3f20 100644
--- a/src/gcal-year-view.c
+++ b/src/gcal-year-view.c
@@ -308,6 +308,8 @@ update_sidebar (GcalYearView *year_view)
cloned_child,
(GCompareFunc)
gcal_event_widget_compare_for_single_day);
+ date.is_date = dt_start->is_date;
+ start_comparison = icaltime_compare (*dt_start, date);
end_comparison = icaltime_compare (second_date, *dt_end);
if (start_comparison == -1 && end_comparison == -1)
gtk_style_context_add_class (gtk_widget_get_style_context (cloned_child), "slanted");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]