aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.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/gnome-cal.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/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index c16651f9cb..ee4efe44e5 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -2919,10 +2919,7 @@ gnome_calendar_delete_selection (GnomeCalendar *gcal)
if (location == FOCUS_CALENDAR) {
view = gnome_calendar_get_current_view_widget (gcal);
- if (E_IS_DAY_VIEW (view))
- e_day_view_delete_event (E_DAY_VIEW (view));
- else
- e_week_view_delete_event (E_WEEK_VIEW (view));
+ e_cal_view_delete_selected_events (E_CAL_VIEW (view));
} else if (location == FOCUS_TASKPAD)
e_calendar_table_delete_selected (E_CALENDAR_TABLE (priv->todo));
else