add generic gadcon config hook which can be used with any gadcon

SVN revision: 76239
This commit is contained in:
Mike Blumenkrantz 2012-09-06 11:56:09 +00:00
parent 09aecfb7a4
commit 383e2a42d7
2 changed files with 7 additions and 0 deletions

View File

@ -691,3 +691,9 @@ e_int_gadcon_config_toolbar(E_Gadcon *gc)
{
_create_dialog(gc, _("Toolbar Contents"));
}
EAPI void
e_int_gadcon_config_hook(E_Gadcon *gc, const char *name)
{
_create_dialog(gc, name);
}

View File

@ -5,6 +5,7 @@
EAPI void e_int_gadcon_config_shelf (E_Gadcon *gc);
EAPI void e_int_gadcon_config_toolbar (E_Gadcon *gc);
EAPI void e_int_gadcon_config_hook(E_Gadcon *gc, const char *name);
#endif
#endif