Re: [evolution-patches] Additional static capabilities for groupwise [calendar]
- From: Rodrigo Moya <rodrigo novell com>
- To: chenthill <pchenthill novell com>
- Cc: evolution-patches <evolution-patches ximian com>
- Subject: Re: [evolution-patches] Additional static capabilities for groupwise [calendar]
- Date: Mon, 30 Aug 2004 11:51:53 +0200
On Fri, 2004-08-27 at 15:54 +0530, chenthill wrote:
> Hi,
> Added a static capability to prevent assigning tasks by right clicking
> on the existing task which the GW does not support. Disabled it after
> checking for the static capability. Added another static capability to
> prevent the conversion of non-recurring appointment to a recurrence
> appointment. Disabled the widgets for the recurrence appointment when
> viewing an existing appointment in GW, checking the capability.
>
> @@ -539,6 +541,15 @@
>
> if (!e_cal_is_read_only (COMP_EDITOR_PAGE (rpage)->client,
> &read_only, NULL))
> read_only = TRUE;
> +
> + if (!read_only) {
> + e_cal_component_get_uid (priv->comp, &uid);
> +
> + if (e_cal_get_static_capability (COMP_EDITOR_PAGE
> (rpage)->client, CAL_STATIC_CAPABILITY_NO_CONV_TO_RECUR) &&
> e_cal_get_object(COMP_EDITOR_PAGE (rpage)->client, uid, NULL,
> &icalcomp, NULL)) {
> + read_only = TRUE;
> >
> + g_free (icalcomp);
> + }
this is wrong, it should be icalcomponent_free (icalcomp), not g_free.
--
Rodrigo Moya <rodrigo novell com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]