From cd27c67fbc2f2a363579ce612c5937a4b12d1e49 Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Tue, 25 Jul 2000 19:49:15 +0000 Subject: new ECalendarTable to show an ETable view for Todo/Event items. 2000-07-25 Damon Chaplin * gui/e-calendar-table.[hc]: new ECalendarTable to show an ETable view for Todo/Event items. * gui/task-assigned-to.xpm: * gui/task-recurring.xpm: * gui/task-assigned.xpm: * gui/task.xpm: new pixmaps (all the same at present) to go in the icon column of the ETable. * gui/event-editor.c: hid the silly 'Calendar' labels on the GnomeDateEdits and hid the times when you select 'All day event'. Also adjusted the time_t's so that when an all day event finishes on say midnight 13th May, we show 12th May in the dialog, since it implicitly includes all of that day up to midnight. * gui/dialogs/task-editor-dialog.glade: * gui/dialogs/task-editor.[hc]: unfinished dialog to edit tasks. * gui/gncal-todo.c: temporary hack so that we can use the simple dialog with our new ETable. svn path=/trunk/; revision=4323 --- calendar/gui/calendar-model.h | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'calendar/gui/calendar-model.h') diff --git a/calendar/gui/calendar-model.h b/calendar/gui/calendar-model.h index 7e28436e59..d3317b11eb 100644 --- a/calendar/gui/calendar-model.h +++ b/calendar/gui/calendar-model.h @@ -51,11 +51,22 @@ struct _CalendarModelClass { ETableModelClass parent_class; }; -GtkType calendar_model_get_type (void); +GtkType calendar_model_get_type (void); -CalendarModel *calendar_model_new (void); +CalendarModel* calendar_model_new (void); -void calendar_model_set_cal_client (CalendarModel *model, CalClient *client, CalObjType type); +CalClient* calendar_model_get_cal_client (CalendarModel *model); +void calendar_model_set_cal_client (CalendarModel *model, + CalClient *client, + CalObjType type); + +void calendar_model_mark_task_complete (CalendarModel *model, + gint row); +void calendar_model_delete_task (CalendarModel *model, + gint row); + +iCalObject* calendar_model_get_cal_object (CalendarModel *model, + gint row); -- cgit v1.2.3