aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view.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-week-view.c
parent5c279839005d2218319fa5546b6e498df753e68e (diff)
downloadgsoc2013-evolution-51857b1153f08c6fb2dd3fbd4d36e63aeac385bb.tar
gsoc2013-evolution-51857b1153f08c6fb2dd3fbd4d36e63aeac385bb.tar.gz
gsoc2013-evolution-51857b1153f08c6fb2dd3fbd4d36e63aeac385bb.tar.bz2
gsoc2013-evolution-51857b1153f08c6fb2dd3fbd4d36e63aeac385bb.tar.lz
gsoc2013-evolution-51857b1153f08c6fb2dd3fbd4d36e63aeac385bb.tar.xz
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-week-view.c')
-rw-r--r--calendar/gui/e-week-view.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index c9caeff732..096c3882d5 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -2990,8 +2990,7 @@ e_week_view_show_popup_menu (EWeekView *week_view,
We could possibly set up another method of checking it. */
not_being_edited = TRUE;
- if (cal_component_has_rrules (event->comp)
- || cal_component_has_rdates (event->comp)) {
+ if (cal_component_has_recurrences (event->comp)) {
num_items = 6;
context_menu = &recur_child_items[0];
context_menu[0].sensitive = not_being_edited;