aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/calendar.c1
-rw-r--r--calendar/gui/calendar.c1
3 files changed, 7 insertions, 0 deletions
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 <nat@gnome-support.com>
+
+ * calendar.c (calendar_add_object): Copy the new UID into the
+ iCalObject structure.
+
1999-07-16 Miguel de Icaza <miguel@gnu.org>
* 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;