aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calendar.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1998-04-22 08:16:43 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-22 08:16:43 +0800
commit45abc2cbefa6d1dfafeb6a8351c35d5c841f87c8 (patch)
treee24787b60f3fd2cb7a66a71d2d4f6a11d36232bb /calendar/calendar.c
parentb707ff2b15af01713ebac9a572b798485bb4b288 (diff)
downloadgsoc2013-evolution-45abc2cbefa6d1dfafeb6a8351c35d5c841f87c8.tar
gsoc2013-evolution-45abc2cbefa6d1dfafeb6a8351c35d5c841f87c8.tar.gz
gsoc2013-evolution-45abc2cbefa6d1dfafeb6a8351c35d5c841f87c8.tar.bz2
gsoc2013-evolution-45abc2cbefa6d1dfafeb6a8351c35d5c841f87c8.tar.lz
gsoc2013-evolution-45abc2cbefa6d1dfafeb6a8351c35d5c841f87c8.tar.xz
gsoc2013-evolution-45abc2cbefa6d1dfafeb6a8351c35d5c841f87c8.tar.zst
gsoc2013-evolution-45abc2cbefa6d1dfafeb6a8351c35d5c841f87c8.zip
Lots of changes:
Lots of changes: 1998-04-21 Miguel de Icaza <miguel@nuclecu.unam.mx> 1. gEdit got Gnomified: gnome-stock, gnome-app, i18n tretment + integration into gnome-utils compilation. Original configure.in is still there for Alex/Evans to redistribute as Gtk App (I tried to ifdef gnome code). 2. gHex: warning fixes + crash fixes + i18n fixes. 3. GnCal: week view shows date range (needs some fixing); changed the day view order; other stuff I dont remember 4. GTop: more i18n treatmnet. 5. Updated Spanish translation. svn path=/trunk/; revision=178
Diffstat (limited to 'calendar/calendar.c')
-rw-r--r--calendar/calendar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/calendar.c b/calendar/calendar.c
index 34020adf38..d564c81a9d 100644
--- a/calendar/calendar.c
+++ b/calendar/calendar.c
@@ -110,6 +110,12 @@ calendar_add_object (Calendar *cal, iCalObject *obj)
g_assert_not_reached ();
}
+ if (!obj->uid){
+ char buffer [80];
+
+ snprintf (buffer, sizeof (buffer), "GnomeCalendar-%ld\n", time (NULL));
+ }
+
cal->modified = TRUE;
/* FIXME: do we have to set the last_mod field in the object? */