Re: [Evolution-hackers] e_cal/book_open() + only_if_exists



On Tue, 2012-02-14 at 11:20 +0100, Patrick Ohly wrote:
> Sorry, typo in my email. I meant "the problem can be avoided by always
> passing only_if_exist=false". In other words, never use
> only_if_exists=true because it serves no useful purpose. Is that correct
> or is there some legitimate usage for only_if_exists=true?

	Hi,
I do not know how the idea of only_if_exists begun, it predates me.
The current behavior depends on each backend, some, like those remote,
doesn't count with it at all (like for the webcal backend, it cannot
create remote calendars, thus it always either fail or succeed, based on
the existence of the remote calendar).

I left it there when changing API due to EClient changes, because it
seemed to me that someone can find it useful, say with local, non-system
calendars. But maybe not.

It will be good to have opinion from other team members, either former
or current.
	Bye,
	Milan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]