forked from enlightenment/enlightenment
simplify comp module dropshadow disable detect
SVN revision: 79692
This commit is contained in:
parent
0f46bd2d98
commit
8debb65fce
|
@ -61,18 +61,16 @@ e_modapi_init(E_Module *m)
|
||||||
|
|
||||||
/* XXX: disabled dropshadow module when comp is running */
|
/* XXX: disabled dropshadow module when comp is running */
|
||||||
{
|
{
|
||||||
Eina_List *l;
|
|
||||||
E_Module *m2;
|
E_Module *m2;
|
||||||
EINA_LIST_FOREACH(e_module_list(), l, m2)
|
|
||||||
|
m2 = e_module_find("dropshadow");
|
||||||
|
if (m2 && m2->enabled)
|
||||||
{
|
{
|
||||||
if (m2->enabled && (!strcmp(m2->name, "dropshadow")))
|
e_util_dialog_internal(_("Composite"),
|
||||||
{
|
_("Dropshadow module is incompatible<br>"
|
||||||
e_util_dialog_internal(_("Composite"),
|
"with compositing. Disabling the<br>"
|
||||||
_("Dropshadow module is incompatible<br>"
|
"Dropshadow module."));
|
||||||
"with compositing. Disabling the<br>"
|
e_module_disable(m2);
|
||||||
"Dropshadow module."));
|
|
||||||
e_module_disable(m2);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue