aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-top-item.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-09-06 18:42:49 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-09-06 18:42:49 +0800
commit51857b1153f08c6fb2dd3fbd4d36e63aeac385bb (patch)
treece79a2714414fa3ffdb848a2e7ad6f49187620bb /calendar/gui/e-day-view-top-item.c
parent5c279839005d2218319fa5546b6e498df753e68e (diff)
downloadgsoc2013-evolution-51857b1153f08c6fb2dd3fbd4d36e63aeac385bb.tar.gz
gsoc2013-evolution-51857b1153f08c6fb2dd3fbd4d36e63aeac385bb.tar.zst
gsoc2013-evolution-51857b1153f08c6fb2dd3fbd4d36e63aeac385bb.zip
Use new cal_component_has_recurrences convenience function
2000-09-06 JP Rosevear <jpr@helixcode.com> * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): Use new cal_component_has_recurrences convenience function * gui/e-week-view.c (e_week_view_show_popup_menu): ditto * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): ditto * gui/calendar-model.c (calendar_model_value_at): ditto (calendar_model_value_at): ditto * gui/e-day-view.c (e_day_view_on_event_click): ditto (e_day_view_on_event_right_click): ditto (e_day_view_on_top_canvas_motion): ditto (e_day_view_on_top_canvas_motion): ditto (e_day_view_on_main_canvas_motion): ditto (e_day_view_on_main_canvas_motion): ditto (e_day_view_reshape_day_event): ditto * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): ditto * gui/e-day-view.c (e_day_view_on_long_event_click): ditto svn path=/trunk/; revision=5220
Diffstat (limited to 'calendar/gui/e-day-view-top-item.c')
-rw-r--r--calendar/gui/e-day-view-top-item.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/e-day-view-top-item.c b/calendar/gui/e-day-view-top-item.c
index 88e30885ca..b6b8a565b5 100644
--- a/calendar/gui/e-day-view-top-item.c
+++ b/calendar/gui/e-day-view-top-item.c
@@ -430,8 +430,7 @@ e_day_view_top_item_draw_long_event (EDayViewTopItem *dvtitem,
icon_x = text_x - icon_x_inc - x;
icon_y = item_y + 1 + E_DAY_VIEW_ICON_Y_PAD - y;
- if (cal_component_has_rrules (comp)
- || cal_component_has_rdates (comp)) {
+ if (cal_component_has_recurrences (comp)) {
gdk_gc_set_clip_origin (gc, icon_x, icon_y);
gdk_gc_set_clip_mask (gc, day_view->recurrence_mask);
gdk_draw_pixmap (drawable, gc,