forked from enlightenment/enlightenment
prevent load of conf module if conf2 is already loaded
SVN revision: 82336
This commit is contained in:
parent
36a7fb9105
commit
12cec65844
|
@ -264,6 +264,11 @@ e_modapi_init(E_Module *m)
|
||||||
|
|
||||||
conf_module = m;
|
conf_module = m;
|
||||||
|
|
||||||
|
if (e_action_find("configuration"))
|
||||||
|
{
|
||||||
|
e_util_dialog_show(_("Error"), _("conf module cannot be loaded when conf2 module is already loaded!"));
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
/* add module supplied action */
|
/* add module supplied action */
|
||||||
act = e_action_add("configuration");
|
act = e_action_add("configuration");
|
||||||
if (act)
|
if (act)
|
||||||
|
|
Loading…
Reference in New Issue