diff options
author | Nat Friedman <nat@gnome-support.com> | 1999-07-19 02:53:19 +0800 |
---|---|---|
committer | Nat Friedman <nat@src.gnome.org> | 1999-07-19 02:53:19 +0800 |
commit | 19e315ed069021c7eb67e965929c43464d601926 (patch) | |
tree | 0926a6a07c43af4cba14338e6d93108230aa7cb0 /calendar | |
parent | 986ec88206b8b4c04fb7d6be3dd644096a8884dc (diff) | |
download | gsoc2013-evolution-19e315ed069021c7eb67e965929c43464d601926.tar.gz gsoc2013-evolution-19e315ed069021c7eb67e965929c43464d601926.tar.zst gsoc2013-evolution-19e315ed069021c7eb67e965929c43464d601926.zip |
Copy the new UID into the iCalObject structure.
1999-07-17 Nat Friedman <nat@gnome-support.com>
* calendar.c (calendar_add_object): Copy the new UID into the
iCalObject structure.
svn path=/trunk/; revision=1029
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/calendar.c | 1 | ||||
-rw-r--r-- | calendar/gui/calendar.c | 1 |
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; |