aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog9
-rw-r--r--calendar/cal-util/calobj.c10
-rw-r--r--calendar/calobj.c10
-rw-r--r--calendar/gncal-full-day.c2
-rw-r--r--calendar/gui/gncal-full-day.c2
-rw-r--r--calendar/pcs/calobj.c10
6 files changed, 41 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 6b432cb781..5ff0a9cd10 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,12 @@
+1999-02-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
+
+ * calobj.c (ical_object_to_vobject): Save the owner/organizer of
+ the event.
+ (ical_object_create_from_vobject): Load the owner/organizer of the event.
+
+ * gncal-full-day.c (delete_occurance): Assign child to data (fixes
+ crash on "delete this occurrance").
+
1999-02-22 Timur Bakeyev <mc@bat.ru>
* calendar.c: According to configured values, use either tm.tm_zone
diff --git a/calendar/cal-util/calobj.c b/calendar/cal-util/calobj.c
index a615c0e313..6ed9db187a 100644
--- a/calendar/cal-util/calobj.c
+++ b/calendar/cal-util/calobj.c
@@ -623,6 +623,12 @@ ical_object_create_from_vobject (VObject *o, const char *object_name)
free (the_str);
}
+ /* Organizer */
+ if (has (o, VCOrgNameProp)){
+ ical->organizer = g_strdup (str_val (vo));
+ free (the_str);
+ }
+
/* related */
if (has (o, VCRelatedToProp)){
ical->related = set_list (str_val (vo));
@@ -899,6 +905,10 @@ ical_object_to_vobject (iCalObject *ical)
/* transparency */
addPropValue (o, VCTranspProp, to_str (ical->transp));
+ /* Owenr/organizer */
+ if (ical->organizer)
+ addPropValue (o, VCOrgNameProp, ical->organizer);
+
/* related */
if (ical->related)
store_list (o, VCRelatedToProp, ical->related);
diff --git a/calendar/calobj.c b/calendar/calobj.c
index a615c0e313..6ed9db187a 100644
--- a/calendar/calobj.c
+++ b/calendar/calobj.c
@@ -623,6 +623,12 @@ ical_object_create_from_vobject (VObject *o, const char *object_name)
free (the_str);
}
+ /* Organizer */
+ if (has (o, VCOrgNameProp)){
+ ical->organizer = g_strdup (str_val (vo));
+ free (the_str);
+ }
+
/* related */
if (has (o, VCRelatedToProp)){
ical->related = set_list (str_val (vo));
@@ -899,6 +905,10 @@ ical_object_to_vobject (iCalObject *ical)
/* transparency */
addPropValue (o, VCTranspProp, to_str (ical->transp));
+ /* Owenr/organizer */
+ if (ical->organizer)
+ addPropValue (o, VCOrgNameProp, ical->organizer);
+
/* related */
if (ical->related)
store_list (o, VCRelatedToProp, ical->related);
diff --git a/calendar/gncal-full-day.c b/calendar/gncal-full-day.c
index f813f1598c..cef08c7fa0 100644
--- a/calendar/gncal-full-day.c
+++ b/calendar/gncal-full-day.c
@@ -428,7 +428,7 @@ edit_appointment (GtkWidget *widget, gpointer data)
static void
delete_occurance (GtkWidget *widget, gpointer data)
{
- Child *child;
+ Child *child = data;
iCalObject *ical;
time_t *t;
GnomeCalendar *gcal = GNCAL_FULL_DAY (child->widget->parent)->calendar;
diff --git a/calendar/gui/gncal-full-day.c b/calendar/gui/gncal-full-day.c
index f813f1598c..cef08c7fa0 100644
--- a/calendar/gui/gncal-full-day.c
+++ b/calendar/gui/gncal-full-day.c
@@ -428,7 +428,7 @@ edit_appointment (GtkWidget *widget, gpointer data)
static void
delete_occurance (GtkWidget *widget, gpointer data)
{
- Child *child;
+ Child *child = data;
iCalObject *ical;
time_t *t;
GnomeCalendar *gcal = GNCAL_FULL_DAY (child->widget->parent)->calendar;
diff --git a/calendar/pcs/calobj.c b/calendar/pcs/calobj.c
index a615c0e313..6ed9db187a 100644
--- a/calendar/pcs/calobj.c
+++ b/calendar/pcs/calobj.c
@@ -623,6 +623,12 @@ ical_object_create_from_vobject (VObject *o, const char *object_name)
free (the_str);
}
+ /* Organizer */
+ if (has (o, VCOrgNameProp)){
+ ical->organizer = g_strdup (str_val (vo));
+ free (the_str);
+ }
+
/* related */
if (has (o, VCRelatedToProp)){
ical->related = set_list (str_val (vo));
@@ -899,6 +905,10 @@ ical_object_to_vobject (iCalObject *ical)
/* transparency */
addPropValue (o, VCTranspProp, to_str (ical->transp));
+ /* Owenr/organizer */
+ if (ical->organizer)
+ addPropValue (o, VCOrgNameProp, ical->organizer);
+
/* related */
if (ical->related)
store_list (o, VCRelatedToProp, ical->related);
xorgbapt2017-01-2411-1/+684 * Import few patches from upstream to allow building with newer xorgbapt2017-01-243-1/+109 * Remove fbdevbapt2017-01-231-2/+1 * Update to 1.3.8bapt2017-01-234-3/+32 * Update to 0.10.9bapt2017-01-238-19/+190 * Update to 1.7.9bapt2017-01-232-3/+4 * Update to 2.3.9bapt2017-01-234-5/+34 * Update to 1.4.7bapt2017-01-234-6/+57 * Update to 0.5.0 which is compatible with newer xorgbapt2017-01-236-35/+24 * Update to 1.6.5 which is compatible with new xorgbapt2017-01-237-6/+153 * Update to 1.3.6 (which is compatible with newer xorg)bapt2017-01-232-4/+4 * Update to 2.1.21 (wich is compatible with newer xorg)bapt2017-01-238-65/+19 * Update to 1.2.9 (which is compatible with newer xorg)bapt2017-01-234-22/+40 * Update to 1.2.7 (which is compatible with newer xorg-server)bapt2017-01-232-3/+4 * x11-drivers/xf86-video-fbdev: remove useless driver (Linux framebuffer)bapt2017-01-235-21/+0 * Backout upgrade to 7.8 is has too many regressionsbapt2017-01-154-15/+31 * Remove expired ports:rene2017-01-154-38/+0 * Update to 0.3.8bapt2017-01-142-4/+7 * Update to 6.10.1bapt2017-01-142-3/+7 * Update to 7.8.0bapt2017-01-144-30/+15 * Update to 2.10.4bapt2017-01-143-16/+7 * Add a patch to fix an unitialized variablebapt2017-01-142-0/+14 * Add patch to fix an uninitialized variable found in the SiS driverbapt2017-01-141-0/+11 * Update to 1.6.3bapt2017-01-142-4/+7 * Update to 1.9.0bapt2017-01-142-3/+7 * Update to 1.9.2bapt2017-01-147-24/+37 * Update to 13.2.1 [1]bapt2017-01-142-3/+8 * Fix ports using PREFIX in their depends instead of LOCALBASE.mat2017-01-141-2/+2 * - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOLamdmi32017-01-092-20/+0 * Deprecate ports broken for FreeBSD 10.3-mat2017-01-031-4/+4 * Change these back from ONLY_FOR to merely marking them broken on arm.linimon2016-12-102-2/+4 * x11-drivers/xf86-input-wacom: update to 0.34.0 and fix stage-qajbeich2016-12-072-4/+6 * Fails to build on aarch64.linimon2016-11-151-0/+2 * These do not build on aarch64. Surely they can only have ever beenlinimon2016-11-152-0/+4 * Use USES=pathfix where applicable.mat2016-10-211-3/+1 * With the power of USES=dos2unix, get rid of most patches and filesmat2016-06-212-9/+9 * Github cleanup.mat2016-06-012-3/+3 * x11-drivers/xf86-input-wacom: update to 0.33.0jbeich2016-05-153-5/+4 * Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.mat2016-04-015-10/+10 * Drop default directory from _DEPENDS in my portsjbeich2016-03-161-2/+2 * x11-drivers/xf86-input-wacom: prevent devd(8) loading ums(4) firstjbeich2016-02-282-1/+2 * x11-drivers/xf86-input-wacom: missed pkg-plist comment in r408423jbeich2016-02-081-1/+1 * x11-drivers/xf86-input-wacom: new device and hotplug supportjbeich2016-02-087-15/+92 * Convert LICENSE= "GPLxx # or later" to "GPLxx+"amdmi32016-01-131-1/+1 * x11-drivers/xf86-input-wacom: update to 0.32.0jbeich2015-12-072-4/+3 * - Kill references to drivers removed in r352941amdmi32015-11-271-2/+0 * Add USES=uidfix to allow build as a user.kwm2015-11-031-1/+1 * Xorg-server update to 1.17.2 with related driver updates and bumps.kwm2015-10-1381-357/+201 * Typos, whitespace and capitalization fixes (S-X).olgeni2015-09-211-1/+1 * x11-drivers/xf86-input-evdev: add new portjbeich2015-09-167-0/+130 * x11-drivers/xf86-input-wacom: switch to lighter libudev workaroundjbeich2015-09-161-1/+2 * multimedia/webcamd: clarify version requirements in consumersjbeich2015-09-161-1/+1 * x11-drivers/xf86-input-wacom: revert small part of r381903jbeich2015-09-102-1/+2 * x11-drivers/xf86-input-wacom: update to 0.31.0jbeich2015-08-202-3/+3 * x11-drivers/xf86-input-wacom: update to 0.30.0jbeich2015-06-153-5/+5 * Update ports in the remaining categories to not use GH_COMMIT.mat2015-05-084-9/+5 * Misc X.org port updates:kwm2015-04-1819-134/+80 * Add patches to allow xf86-video-intel to build with newer xorg-serverkwm2015-04-1813-16/+715 * Convert to USES=metaportbapt2015-03-281-6/+1 * Convert into a real meta portbapt2015-03-282-6/+3 * x11-drivers/drm-kmod: Port for the DRM kernel drivers for FreeBSD 9.3dumbbell2015-03-276-2/+60 * x11-drivers/xf86-video-intel: add CPE informationrobak2015-03-251-0/+3 * - Update to 0.29.0jbeich2015-03-227-43/+23 * x11-drivers/xf86-input-wacom: update 0.27.0 -> 0.28.0robak2015-03-136-5/+78 * Move ATI driver to be specific to x86. This fixes the xorg build for armlinimon2015-02-231-6/+5 * Per convention change my address to @FreeBSD.orgjbeich2015-01-211-1/+1 * - Add missing build dependenciesantoine2014-12-292-5/+2 * Use autoreconf.glebius2014-12-291-5/+1 * Revive the xf86-input-egalax driver. It now compiles with new Xorg.glebius2014-12-295-0/+40 * x11-servers/xorg-server: Update to 1.14dumbbell2014-12-20136-497/+755 * Sort entries alphabetically across all categories to avoid extra repo churn.danfe2014-12-081-1/+1 * Update to upstream version 0.27.0riggs2014-12-063-5/+5 * xf86-video-ati: Update to 7.5.0dumbbell2014-11-053-16/+25 * Remove UMS DDX support (xf86-video-intel 2.7.1).kwm2014-10-2826-745/+45 * Remove the switch code between 6.14.6 and 7.2.0.kwm2014-10-203-45/+4 * - Update to 0.26.1madpilot2014-10-146-11/+116 * Fix pkgnamebapt2014-10-031-0/+1 * Add a ums only version of the ati driversbapt2014-10-038-0/+92 * Arbitrary bump portrevision to make sure a newer version is installed alon wi...bapt2014-10-012-2/+2 * - Fix extra keyboards patch, was broken by 1.8.0 updateak2014-09-132-3/+3 * Fix the PORTREVISION bump for the lang/gcc update that went badly forgerald2014-09-128-24/+24 * Update the default version of GCC in the Ports Collection from GCC 4.7.4gerald2014-09-1148-46/+48 * Rework checks to select between UMS and KMS versions of the ati driver.kwm2014-09-101-2/+25 * Don't query console keymapkwm2014-09-092-1/+230 * Remove non staged ports without pending PR from *bapt2014-09-025-39/+0 * Attempt to unbreakantoine2014-08-091-1/+1 * Add USE_XORG=inputproto.adamw2014-08-071-1/+1 * Update to 0.0.4.kwm2014-07-303-9/+12 * Update wacom input driver to 0.24.99.1bapt2014-06-1126-682/+335 * Remove all space characters from Makefile assignments.olgeni2014-06-091-1/+1 * x11-drivers/xf86-video-ati:kwm2014-05-302-1/+16 * - Stagifyamdmi32014-05-212-7/+3 * Convert all :U to :tu and :L to :tlbapt2014-05-051-9/+7 * Remove expired ports:rene2014-05-0423-407/+0 * When linking a library libA with a library libB using libtool, if libB.latijl2014-04-2399-121/+58 * The FreeBSD x11@ and graphics team proudly presentszeising2014-04-1750-56/+89 * Fix ppc arch in ONLY_FOR_ARCHESeadler2014-03-211-1/+1 * - Convert USE_GMAKE to USESmiwi2014-03-151-1/+1 * Mark BROKEN: Does not compileantoine2014-03-081-0/+2 * Remove expired ports:rene2014-02-285-55/+0 * Support stagebapt2014-02-241-2/+2 * Only use the KMS driver on i386/amd64. This allows the old version tokwm2014-02-061-1/+2 * Remove expired ports:rene2014-01-31