prevent load of conf module if conf2 is already loaded

SVN revision: 82336
This commit is contained in:
Mike Blumenkrantz 2013-01-07 11:00:47 +00:00
parent 36a7fb9105
commit 12cec65844
1 changed files with 5 additions and 0 deletions

View File

@ -264,6 +264,11 @@ e_modapi_init(E_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 */
act = e_action_add("configuration");
if (act)