Re: [Evolution-hackers] Quit Event Hook




I guess it makes sense.  Not sure if you'd be able to do this though.

Quitting is ... definitely the most complicated process in the entire application.  You can't just call a synchronous callback and expect things to work.  e.g. quitting shuts down threads and connections and stuff, and the order is terribly complicated and tricky.  And some things deadlock if you try to do them synchronously.  etc.  I guess it might work, but it might not be easy.

I think much better just to add a bit to the camel_store_sync() call to say expunge junk as well as expunge trash.  It already has an 'expunge' bool, just make that a bitfield instead.

On Tue, 2004-10-12 at 10:50 -0400, JP Rosevear wrote:
Would it be useful for evolution to have a "quit" eplugin hook?  I was
looking specifically at http://bugzilla.ximian.com/show_bug.cgi?id=60830

-JP
--
Michael Zucchi <notzed ximian com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer


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