aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view-event-item.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-08-21 11:22:41 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-08-21 11:22:41 +0800
commit6426c17f2613f6d9e00472e3fbedcfc378500133 (patch)
treebee5a6dfa99d306a33e8af38576b2d4b53f2f33b /calendar/gui/e-week-view-event-item.c
parent20475c3960279fb5ca644e5466040c60c83e996e (diff)
downloadgsoc2013-evolution-6426c17f2613f6d9e00472e3fbedcfc378500133.tar
gsoc2013-evolution-6426c17f2613f6d9e00472e3fbedcfc378500133.tar.gz
gsoc2013-evolution-6426c17f2613f6d9e00472e3fbedcfc378500133.tar.bz2
gsoc2013-evolution-6426c17f2613f6d9e00472e3fbedcfc378500133.tar.lz
gsoc2013-evolution-6426c17f2613f6d9e00472e3fbedcfc378500133.tar.xz
gsoc2013-evolution-6426c17f2613f6d9e00472e3fbedcfc378500133.tar.zst
gsoc2013-evolution-6426c17f2613f6d9e00472e3fbedcfc378500133.zip
Use CalComponent instead of iCalObject. #if some alarm stuff
2000-08-20 JP Rosevear <jpr@helixcode.com> * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): Use CalComponent instead of iCalObject. #if some alarm stuff svn path=/trunk/; revision=4896
Diffstat (limited to 'calendar/gui/e-week-view-event-item.c')
-rw-r--r--calendar/gui/e-week-view-event-item.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c
index 8b4aea1d2d..f8812f6c33 100644
--- a/calendar/gui/e-week-view-event-item.c
+++ b/calendar/gui/e-week-view-event-item.c
@@ -487,7 +487,7 @@ e_week_view_event_item_draw_icons (EWeekViewEventItem *wveitem,
EWeekView *week_view;
EWeekViewEvent *event;
EWeekViewEventSpan *span;
- iCalObject *ico;
+ CalComponent *comp;
GdkGC *gc;
gint num_icons = 0, icon_x_inc;
gboolean draw_reminder_icon = FALSE, draw_recurrence_icon = FALSE;
@@ -498,17 +498,20 @@ e_week_view_event_item_draw_icons (EWeekViewEventItem *wveitem,
wveitem->event_num);
span = &g_array_index (week_view->spans, EWeekViewEventSpan,
event->spans_index + wveitem->span_num);
- ico = event->ico;
+ comp = event->comp;
gc = week_view->main_gc;
+#if 0
if (ico->dalarm.enabled || ico->malarm.enabled
|| ico->palarm.enabled || ico->aalarm.enabled) {
draw_reminder_icon = TRUE;
num_icons++;
}
+#endif
- if (ico->recur) {
+ if (cal_component_has_rdates (comp)
+ || cal_component_has_rrules (comp)) {
draw_recurrence_icon = TRUE;
num_icons++;
}