completely block modules named composite from being loaded
SVN revision: 82522
This commit is contained in:
parent
7a7ceb7429
commit
c9aaacdb35
|
@ -134,6 +134,14 @@ e_module_new(const char *name)
|
||||||
int in_list = 0;
|
int in_list = 0;
|
||||||
|
|
||||||
if (!name) return NULL;
|
if (!name) return NULL;
|
||||||
|
if (!e_util_strcasecmp(name, "composite"))
|
||||||
|
{
|
||||||
|
e_util_dialog_show(_("Module Error"),
|
||||||
|
_("The composite module cannot be loaded;"
|
||||||
|
"Enlightenment is already composited."));
|
||||||
|
ERR("USER TRIED TO LOAD EXTERNAL COMP MODULE! MY TEARS FLOW LIKE VICTORIA FALLS!");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
m = E_OBJECT_ALLOC(E_Module, E_MODULE_TYPE, _e_module_free);
|
m = E_OBJECT_ALLOC(E_Module, E_MODULE_TYPE, _e_module_free);
|
||||||
if (name[0] != '/')
|
if (name[0] != '/')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue