From 36a42fc60313ee2c15de8b2466bd208a0feff6ae Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Sat, 18 Apr 1998 02:03:07 +0000 Subject: Added mandatory status property. (ical_object_to_vobject): Only store 1998-04-17 Federico Mena Quintero * calobj.c (ical_new): Added mandatory status property. (ical_object_to_vobject): Only store "related" list if it exists. * main.c (save_calendar_cmd): Implemented calendar saving. (open_calendar_cmd): Implemented calendar loading. (new_calendar_cmd): Implemented calendar creation. (new_calendar): Don't load our test calendar by default. * gncal-full-day.c (delete_appointment): Delete appointment implemented. svn path=/trunk/; revision=153 --- calendar/gncal-full-day.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'calendar/gncal-full-day.c') diff --git a/calendar/gncal-full-day.c b/calendar/gncal-full-day.c index 7a20b3789d..1af9daa65f 100644 --- a/calendar/gncal-full-day.c +++ b/calendar/gncal-full-day.c @@ -370,12 +370,13 @@ static void delete_appointment (GtkWidget *widget, gpointer data) { Child *child; + GncalFullDay *fullday; child = data; - /* FIXME */ + fullday = GNCAL_FULL_DAY (child->widget->parent); - printf ("Yay! delete_appointment() not yet implemented\n"); + gnome_calendar_remove_object (fullday->calendar, child->ico); } static void -- cgit v1.2.3