aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-08-09 08:26:01 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-08-09 08:26:01 +0800
commitd73557c1db05b893da63049644368f039b74ff29 (patch)
tree9b13f7b52531d0e3273454877947da3835755392 /calendar
parent8bb60ffb37722d068a38b845019a49bf2d010113 (diff)
downloadgsoc2013-evolution-d73557c1db05b893da63049644368f039b74ff29.tar.gz
gsoc2013-evolution-d73557c1db05b893da63049644368f039b74ff29.tar.zst
gsoc2013-evolution-d73557c1db05b893da63049644368f039b74ff29.zip
Duuuh, set the alarm_copy on the component, not the original alarm. Fixes
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. svn path=/trunk/; revision=11806
Diffstat (limited to 'calendar')
-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);
}
}