aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-04-09 15:36:54 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-09 15:36:54 +0800
commita4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3 (patch)
treef67e1349246b009e89f8a2e819b99908394b0268 /calendar/pcs
parent8e5a66e2c304f3cae73838495868941b6f66c7dc (diff)
downloadgsoc2013-evolution-a4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3.tar
gsoc2013-evolution-a4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3.tar.gz
gsoc2013-evolution-a4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3.tar.bz2
gsoc2013-evolution-a4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3.tar.lz
gsoc2013-evolution-a4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3.tar.xz
gsoc2013-evolution-a4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3.tar.zst
gsoc2013-evolution-a4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3.zip
Show instead of just map the child widget (otherwise the text widget gets
1998-04-09 Federico Mena Quintero <federico@nuclecu.unam.mx> * 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
Diffstat (limited to 'calendar/pcs')
-rw-r--r--calendar/pcs/calobj.c5
-rw-r--r--calendar/pcs/calobj.h1
2 files changed, 3 insertions, 3 deletions
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