aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar.c1
-rw-r--r--calendar/gui/eventedit.c2
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;