From 19e315ed069021c7eb67e965929c43464d601926 Mon Sep 17 00:00:00 2001 From: Nat Friedman Date: Sun, 18 Jul 1999 18:53:19 +0000 Subject: Copy the new UID into the iCalObject structure. 1999-07-17 Nat Friedman * calendar.c (calendar_add_object): Copy the new UID into the iCalObject structure. svn path=/trunk/; revision=1029 --- calendar/ChangeLog | 5 +++++ calendar/calendar.c | 1 + calendar/gui/calendar.c | 1 + 3 files changed, 7 insertions(+) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index f592cc8569..481537730e 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +1999-07-17 Nat Friedman + + * calendar.c (calendar_add_object): Copy the new UID into the + iCalObject structure. + 1999-07-16 Miguel de Icaza * gnome-month-item.c (gnome_month_item_set_arg): Merge fix from diff --git a/calendar/calendar.c b/calendar/calendar.c index dbe1bf7e47..ff7ae8ee5d 100644 --- a/calendar/calendar.c +++ b/calendar/calendar.c @@ -119,6 +119,7 @@ calendar_add_object (Calendar *cal, iCalObject *obj) char buffer [80]; snprintf (buffer, sizeof (buffer), "GnomeCalendar-%ld\n", time (NULL)); + obj->uid = g_strdup (buffer); } cal->modified = TRUE; diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c index dbe1bf7e47..ff7ae8ee5d 100644 --- a/calendar/gui/calendar.c +++ b/calendar/gui/calendar.c @@ -119,6 +119,7 @@ calendar_add_object (Calendar *cal, iCalObject *obj) char buffer [80]; snprintf (buffer, sizeof (buffer), "GnomeCalendar-%ld\n", time (NULL)); + obj->uid = g_strdup (buffer); } cal->modified = TRUE; -- cgit v1.2.3