On Sun, 2003-11-30 at 14:43, ERDI Gergo wrote: > Hi, > > I'm working on bug/bounty #127535, and now I'm at the point where the > backend more or less works -- it creates yearly-recurring all-day events > for birthdays and anniversaries. > The question is how to integrate it into Evolution. > I think the most straightforward way would be to show a Contacts calendar > source in the left-hand list of the calendar view. However, that would > need to be an un-deletable un-editable calendar source, for obvious > reasons. So how do I create such a calendar source? > for un-deletable, un-editable calendar source, just return TRUE in the get_is_read_only method of the backend, and don't implement at all create_object, modify_object, remove_object methods. Just make them return an error code.
> Also, is there some documentation on which ECalBackend[Sync] methods I > need to implement for a read-only calendar backend? > you should implement all, except those that imply modifications, like the 3 listed above, add_timezone, remove_calendar, and I think that's all. The rest should all be implemented. It is not clear to me yet neither how to add those backends to the source selector. Probably in the new-calendar-druid we are going to write. cheers _______________________________________________ evolution-hackers maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution-hackers
