aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-main-item.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-07-24 20:17:03 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-07-24 20:17:03 +0800
commit1f382b36fae7bbe91d39c52d7315865b1771d462 (patch)
treef0788fe83703a979a49070ae9e88b95bb10f2ba7 /calendar/gui/e-day-view-main-item.c
parent4068b19a6f21ee830eeb6754144493d5e6b36036 (diff)
downloadgsoc2013-evolution-1f382b36fae7bbe91d39c52d7315865b1771d462.tar.gz
gsoc2013-evolution-1f382b36fae7bbe91d39c52d7315865b1771d462.tar.zst
gsoc2013-evolution-1f382b36fae7bbe91d39c52d7315865b1771d462.zip
removed.
2003-07-24 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (e_day_view_delete_event, e_day_view_delete_event_internal): * gui/e-week-view.c (e_week_view_delete_event, e_week_view_delete_event_internal): removed. * gui/e-cal-view.[ch] (e_cal_view_delete_selected_event): renamed from e_cal_view_delete_event_internal. (e_cal_view_delete_selected_events): new function. * gui/gnome-cal.c (gnome_calendar_delete_selection): call e_cal_view_delete_selected_events(). * gui/e-week-view-event-item.c (e_week_view_event_item_get_position, e_week_view_event_item_button_press): * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): adapted to changes in E*ViewPosition. svn path=/trunk/; revision=21943
Diffstat (limited to 'calendar/gui/e-day-view-main-item.c')
-rw-r--r--calendar/gui/e-day-view-main-item.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/e-day-view-main-item.c b/calendar/gui/e-day-view-main-item.c
index 56be20e1be..698f702c86 100644
--- a/calendar/gui/e-day-view-main-item.c
+++ b/calendar/gui/e-day-view-main-item.c
@@ -511,12 +511,12 @@ e_day_view_main_item_draw_day_event (EDayViewMainItem *dvmitem,
bar_y2 = event->end_minute * day_view->row_height / day_view->mins_per_row - y;
/* When an item is being resized, we fill the bar up to the new row. */
- if (day_view->resize_drag_pos != E_DAY_VIEW_POS_NONE
+ if (day_view->resize_drag_pos != E_CAL_VIEW_POS_NONE
&& day_view->resize_event_day == day
&& day_view->resize_event_num == event_num) {
- if (day_view->resize_drag_pos == E_DAY_VIEW_POS_TOP_EDGE)
+ if (day_view->resize_drag_pos == E_CAL_VIEW_POS_TOP_EDGE)
bar_y1 = item_y + 1;
- else if (day_view->resize_drag_pos == E_DAY_VIEW_POS_BOTTOM_EDGE)
+ else if (day_view->resize_drag_pos == E_CAL_VIEW_POS_BOTTOM_EDGE)
bar_y2 = item_y + item_h - 1;
}