aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/dialogs/alarm-page.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index cd4841c411..be47d5db3d 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-08 Federico Mena Quintero <federico@ximian.com>
+
+ * gui/dialogs/alarm-page.c (alarm_page_fill_component): Duuuh, set
+ the alarm_copy on the component, not the original alarm. Fixes
+ bug #5214.
+
2001-08-08 JP Rosevear <jpr@ximian.com>
* gui/dialogs/meeting-page.c (set_attendees): set the attendees of
diff --git a/calendar/gui/dialogs/alarm-page.c b/calendar/gui/dialogs/alarm-page.c
index de33ff2d0d..fce8093149 100644
--- a/calendar/gui/dialogs/alarm-page.c
+++ b/calendar/gui/dialogs/alarm-page.c
@@ -503,7 +503,7 @@ alarm_page_fill_component (CompEditorPage *page, CalComponent *comp)
*/
alarm_copy = cal_component_alarm_clone (alarm);
- cal_component_add_alarm (comp, alarm);
+ cal_component_add_alarm (comp, alarm_copy);
cal_component_alarm_free (alarm_copy);
}
}