Allow dropshadow module to use it's own icon in the Config Panel.

SVN revision: 32253
This commit is contained in:
Christopher Michael 2007-10-31 15:12:42 +00:00
parent ca1a6dbec2
commit 3edfa96675
1 changed files with 3 additions and 2 deletions

View File

@ -82,11 +82,12 @@ EAPI void *
e_modapi_init(E_Module *m)
{
Dropshadow *ds;
char buf[4096];
ds = _ds_init(m);
snprintf(buf, sizeof(buf), "%s/e-module-dropshadow.edj", e_module_dir_get(m));
e_configure_registry_category_add("appearance", 10, _("Appearance"), NULL, "enlightenment/appearance");
e_configure_registry_item_add("appearance/dropshadow", 150, _("Dropshadow"), NULL, "enlightenment/dropshadow", e_int_config_dropshadow_module);
e_configure_registry_item_add("appearance/dropshadow", 150, _("Dropshadow"), NULL, buf, e_int_config_dropshadow_module);
dropshadow_mod = m;