diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-21 11:22:09 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-21 11:22:09 +0800 |
commit | 07239d418cf2910ac2240559515fae5851db2868 (patch) | |
tree | 39e385a60585852301c1f0d4f6047d5567cfa1ed /calendar/gui | |
parent | 5fda22d8393b161a6539b848bdd5d88db7e77bc5 (diff) | |
download | gsoc2013-evolution-07239d418cf2910ac2240559515fae5851db2868.tar gsoc2013-evolution-07239d418cf2910ac2240559515fae5851db2868.tar.gz gsoc2013-evolution-07239d418cf2910ac2240559515fae5851db2868.tar.bz2 gsoc2013-evolution-07239d418cf2910ac2240559515fae5851db2868.tar.lz gsoc2013-evolution-07239d418cf2910ac2240559515fae5851db2868.tar.xz gsoc2013-evolution-07239d418cf2910ac2240559515fae5851db2868.tar.zst gsoc2013-evolution-07239d418cf2910ac2240559515fae5851db2868.zip |
Enhance the exception date handling -mig
svn path=/trunk/; revision=174
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/calendar.c | 1 | ||||
-rw-r--r-- | calendar/gui/eventedit.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c index c9cc4fe984..34020adf38 100644 --- a/calendar/gui/calendar.c +++ b/calendar/gui/calendar.c @@ -92,6 +92,7 @@ calendar_add_alarms (Calendar *cal) void calendar_add_object (Calendar *cal, iCalObject *obj) { + obj->new = 0; switch (obj->type){ case ICAL_EVENT: cal->events = g_list_prepend (cal->events, obj); diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c index f14a159fda..12d548d3b5 100644 --- a/calendar/gui/eventedit.c +++ b/calendar/gui/eventedit.c @@ -668,8 +668,8 @@ static void ee_store_recur_values_to_ical (EventEditor *ee) { if (ee_store_recur_rule_to_ical (ee)){ - ee_store_recur_end_to_ical (ee); ee_store_recur_exceptions_to_ical (ee); + ee_store_recur_end_to_ical (ee); } else if (ee->ical->recur) { g_free (ee->ical->recur); ee->ical->recur = NULL; |