From e7deedccdac5baf62f0adfd3a8cfb311157da01f Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 13 Jun 2000 07:38:47 +0000 Subject: Added the array of objects and the hash table of UID->array index. 2000-06-13 Federico Mena Quintero * gui/calendar-model.c (CalendarModelPrivate): Added the array of objects and the hash table of UID->array index. (calendar_model_row_count): Return the length directly from the array instead of asking the Wombat. (calendar_model_value_at): Implemented. (calendar_model_new): Create an empty model. We provide a new setter function now. (calendar_model_construct): Removed function. (calendar_model_set_cal_client): New function to set the calendar client and object type at any time. This lets us reuse a calendar model object. * cal-util/calobj.h (iCalObjectField): Just report whether the object has alarms; not every single alarm. svn path=/trunk/; revision=3547 --- calendar/cal-util/calobj.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'calendar/cal-util') diff --git a/calendar/cal-util/calobj.h b/calendar/cal-util/calobj.h index c93c79f906..bb0840fb67 100644 --- a/calendar/cal-util/calobj.h +++ b/calendar/cal-util/calobj.h @@ -45,10 +45,7 @@ typedef enum { ICAL_OBJECT_FIELD_PRIORITY, ICAL_OBJECT_FIELD_SUMMARY, ICAL_OBJECT_FIELD_URL, - ICAL_OBJECT_FIELD_DALARM, - ICAL_OBJECT_FIELD_AALARM, - ICAL_OBJECT_FIELD_PALARM, - ICAL_OBJECT_FIELD_MALARM, + ICAL_OBJECT_FIELD_HAS_ALARMS, /* not a real field */ ICAL_OBJECT_FIELD_NUM_FIELDS } iCalObjectField; -- cgit v1.2.3