aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-06-13 15:38:47 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-06-13 15:38:47 +0800
commite7deedccdac5baf62f0adfd3a8cfb311157da01f (patch)
tree6114b6a4a73a6a3807398fbd607971f351f67664 /calendar/cal-util
parent7ba831860dfa5e96d9d19a0b5907d5237e60596a (diff)
downloadgsoc2013-evolution-e7deedccdac5baf62f0adfd3a8cfb311157da01f.tar
gsoc2013-evolution-e7deedccdac5baf62f0adfd3a8cfb311157da01f.tar.gz
gsoc2013-evolution-e7deedccdac5baf62f0adfd3a8cfb311157da01f.tar.bz2
gsoc2013-evolution-e7deedccdac5baf62f0adfd3a8cfb311157da01f.tar.lz
gsoc2013-evolution-e7deedccdac5baf62f0adfd3a8cfb311157da01f.tar.xz
gsoc2013-evolution-e7deedccdac5baf62f0adfd3a8cfb311157da01f.tar.zst
gsoc2013-evolution-e7deedccdac5baf62f0adfd3a8cfb311157da01f.zip
Added the array of objects and the hash table of UID->array index.
2000-06-13 Federico Mena Quintero <federico@helixcode.com> * 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
Diffstat (limited to 'calendar/cal-util')
-rw-r--r--calendar/cal-util/calobj.h5
1 files changed, 1 insertions, 4 deletions
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;