diff options
author | Damon Chaplin <damon@helixcode.com> | 2000-10-05 08:02:56 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2000-10-05 08:02:56 +0800 |
commit | aca022a441730b3707c26a6385d8e3c7c492e2cf (patch) | |
tree | da6feb8a311526555f04fbb1ca23d3be50341633 /calendar/cal-util/cal-recur.h | |
parent | 8fee89d2fb528f546ba2215a0b343068f7afdd3b (diff) | |
download | gsoc2013-evolution-aca022a441730b3707c26a6385d8e3c7c492e2cf.tar.gz gsoc2013-evolution-aca022a441730b3707c26a6385d8e3c7c492e2cf.tar.zst gsoc2013-evolution-aca022a441730b3707c26a6385d8e3c7c492e2cf.zip |
when the user types in a new event, don't create it until the user hits
2000-10-05 Damon Chaplin <damon@helixcode.com>
* gui/e-day-view.c:
* gui/e-week-view.c: when the user types in a new event, don't create
it until the user hits Return or switches focus. Removed the
editing_new_event flags.
* cal-util/test-recur.c: rewritten to work on ics files. Now I can
start testing the recurrence code.
* cal-util/cal-recur.c: a few fixes.
* gui/e-day-view.c (e_day_view_check_if_new_event_fits): fixed to
return TRUE for long events, not FALSE.
svn path=/trunk/; revision=5729
Diffstat (limited to 'calendar/cal-util/cal-recur.h')
-rw-r--r-- | calendar/cal-util/cal-recur.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/calendar/cal-util/cal-recur.h b/calendar/cal-util/cal-recur.h index bbfaafdde2..de5a139f78 100644 --- a/calendar/cal-util/cal-recur.h +++ b/calendar/cal-util/cal-recur.h @@ -32,14 +32,19 @@ BEGIN_GNOME_DECLS typedef gboolean (* CalRecurInstanceFn) (CalComponent *comp, time_t instance_start, - time_t instace_end, + time_t instance_end, gpointer data); /* - * Calls the given callback function for each occurrence of the event between - * the given start and end times. If end is 0 it continues until the event - * ends or forever if the event has an infinite recurrence rule. - * If the callback routine return FALSE the occurrence generation stops. + * Calls the given callback function for each occurrence of the event that + * intersects the range between the given start and end times (the end time is + * not included). Note that the occurrences may start before the given start + * time. + * + * If the callback routine returns FALSE the occurrence generation stops. + * + * Both start and end can be -1, in which case we start at the events first + * instance and continue until it ends, or forever if it has no enddate. */ void cal_recur_generate_instances (CalComponent *comp, time_t start, |