Some problems with the current plugin system in gnucash GUI

Didier Vidal didier-devel at 9online.fr
Sat Nov 12 13:00:22 EST 2005


> Hmm.  With this patch, the hook is registered at account-tree
> plugin-page class-initialization time, and the hook applies to all new
> books, regardless of origin.  That doesn't seem quite right on either
> count...
> 

What's the difference with the following, in src/gnome/druid-hierarchy.c
?
void
gnc_ui_hierarchy_druid_initialize (void)
{
  gnc_hook_add_dangler(HOOK_NEW_BOOK,
		       (GFunc)gnc_ui_hierarchy_druid_hook, NULL);
}

Didier.






More information about the gnucash-devel mailing list