wc_mime_attachment *Mime = CTX(CTX_MIME_ATACH);
icalproperty_method the_method = ICAL_METHOD_NONE;
icalproperty *method = NULL;
- icalcomponent *cal;
- icalcomponent *c;
+ icalcomponent *cal = NULL;
+ icalcomponent *c = NULL;
WCTemplputParams SubTP;
WCTemplputParams SuperTP;
0,
SuperTP.Tokens);
FlushStrBuf(Mime->Data);
- DoTemplate(HKEY("ical_attachment_display"), Mime->Data, &SubTP);
+/// DoTemplate(HKEY("ical_attachment_display"), Mime->Data, &SubTP);
+ DoTemplate(HKEY("ical_edit"), Mime->Data, &SubTP);
/*/ cal_process_object(Mime->Data, cal, 0, Mime->msgnum, ChrPtr(Mime->PartNum)); */
}
}
FreeStrBuf(&Line);
- syslog(9, "...done.\n");
+ syslog(LOG_DEBUG, "...done.\n");
return Conflicts;
}
for (c = icalcomponent_get_first_component(cal, ICAL_ANY_COMPONENT);
(c != 0);
c = icalcomponent_get_next_component(cal, ICAL_ANY_COMPONENT)) {
- /* Recursively process subcomponent * /
+ // Recursively process subcomponent
cal_process_object(Target, c, recursion_level+1, msgnum, cal_partnum);
}
*/
(void)
{
RegisterCTX(CTX_ICAL);
-//*
+/*
RegisterMimeRenderer(HKEY("text/calendar"), render_MIME_ICS_TPL, 1, 501);
RegisterMimeRenderer(HKEY("application/ics"), render_MIME_ICS_TPL, 1, 500);
-//*/
+*/
CreateIcalComponendKindLookup ();
RegisterConditional("COND:ICAL:PROPERTY", 1, cond_ICalHaveItem, CTX_ICAL);