Re: [Evolution-hackers] e-plugin changes

On Thu, 2004-10-07 at 16:33 +0800, Not Zed wrote:
> And finally i've fixed up the loading order issue, now plugin
> definitions are cached in memory whenever they're loaded, until all
> the hooks defined in them have been published (via
> e_plugin_hook_register_type), at which point they are then garbage
> collected.  This lets code register hooks at any time, rather than
> having to register them before the plugins are loaded.  Going forward
> hooks will probably register in their get_type method rather than
> having to be done in a block like they are in mail-component.c now.
> So the shell now loads the plugin definitions, and they are
> incrementally processed as and when the various components publish
> their hooks.

This seems to be failing in the em-format-hook case, it looks like this
has a specialized method (that creates the hash table for listing the
mime type handlers) to register the types that doesn't cache the plugins
for later re-registering.

JP Rosevear <jpr novell com>
Novell, Inc.

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