From a4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 9 Apr 1998 07:36:54 +0000 Subject: Show instead of just map the child widget (otherwise the text widget gets 1998-04-09 Federico Mena Quintero * gncal-full-day.c (child_map): Show instead of just map the child widget (otherwise the text widget gets confused and will not focus). * calobj.c (ical_object_to_vobject): Quote chars as 'x', not "x". * calobj.h: Added prototype for ical_object_to_vobject(). * gnome-cal.c (gnome_calendar_object_changed): New function. This should be called when a calendar object is changed. * gncal-full-day.c (update_from_drag_info): Call gnome_calendar_object_changed() instead of updating manually. * calendar.c (calendar_add_object): (calendar_remove_object): Set the modified flag to true. * gncal-full-day.c (gncal_full_day_draw): Finished implementing this function. svn path=/trunk/; revision=120 --- calendar/pcs/calobj.c | 5 ++--- calendar/pcs/calobj.h | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/pcs') diff --git a/calendar/pcs/calobj.c b/calendar/pcs/calobj.c index 8c5605c688..8504d7a95b 100644 --- a/calendar/pcs/calobj.c +++ b/calendar/pcs/calobj.c @@ -349,7 +349,7 @@ ical_object_to_vobject (iCalObject *ical) /* resources */ if (ical->categories) - store_list (o, VCCategoriesProp, ical->resources, ";"); + store_list (o, VCCategoriesProp, ical->resources, ';'); /* priority */ addPropValue (o, VCPriorityProp, to_str (ical->priority)); @@ -358,7 +358,7 @@ ical_object_to_vobject (iCalObject *ical) addPropValue (o, VCTranspProp, to_str (ical->transp)); /* related */ - store_list (o, VCRelatedToProp, ical->related, ";"); + store_list (o, VCRelatedToProp, ical->related, ';'); /* attach */ for (l = ical->attach; l; l = l->next) @@ -371,4 +371,3 @@ ical_object_to_vobject (iCalObject *ical) /* FIXME: alarms */ return o; } - diff --git a/calendar/pcs/calobj.h b/calendar/pcs/calobj.h index 00dbd5c63e..0fe85c6ca3 100644 --- a/calendar/pcs/calobj.h +++ b/calendar/pcs/calobj.h @@ -120,6 +120,7 @@ iCalObject *ical_new (char *comment, char *organizer, char *summary); iCalObject *ical_object_new (void); void ical_object_destroy (iCalObject *ico); iCalObject *ical_object_create_from_vobject (VObject *obj, const char *object_name); +VObject *ical_object_to_vobject (iCalObject *ical); END_GNOME_DECLS -- cgit v1.2.3