aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar.c')
-rw-r--r--calendar/gui/calendar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c
index dfeb1d6cc8..e6c6dddf59 100644
--- a/calendar/gui/calendar.c
+++ b/calendar/gui/calendar.c
@@ -133,7 +133,7 @@ calendar_add_object (Calendar *cal, iCalObject *obj)
cal->modified = TRUE;
- /* FIXME: do we have to set the last_mod field in the object? */
+ obj->last_mod = time (NULL);
}
void
@@ -504,6 +504,8 @@ calendar_get_events_in_range (Calendar *cal, time_t start, time_t end)
void
calendar_object_changed (Calendar *cal, iCalObject *obj, int flags)
{
+ obj->last_mod = time (NULL);
+
if (!(flags & CHANGE_DATES))
return;
mmit/converters/mule-ucs?h=gstreamer0.10-removal&id=ffdf8b50b5fa0b45b4be6b17b68ced12a00bda87'>- bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1 * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1 * Obey user setting of EMACS_PORT_NAME to be friendry for emacs22.ume2006-11-051-1/+1 * - Remove bad site:jmelo2006-07-241-2/+1 * Reset okazaki due to long period of inactivity and maintainer-timeout.linimon2006-04-151-1/+1 * - Fix possibility of "infinite make fork" when "Registering install for ..."linimon2006-01-281-0/+1 * SHA256ifyedwin2006-01-221-0/+1 * Remove obsolete mastersites.linimon2005-10-071-2/+0 * SIZEify (maintainer timeout)trevor2004-03-311-0/+1 * Cosmetic fix: use %%DOCSDIR%% macro.osa2003-10-22