Fix IBox Configure Call to check for current container

SVN revision: 19421
This commit is contained in:
Christopher Michael 2005-12-30 13:58:16 +00:00
parent bb4b7078ec
commit 1e1eea1558
1 changed files with 12 additions and 5 deletions

View File

@ -149,14 +149,21 @@ int
e_modapi_config(E_Module *m)
{
IBox *e;
IBox_Box *face;
Evas_List *l;
e = m->data;
if (!e) return 0;
if (!e->boxes) return 0;
face = e->boxes->data;
if (!face) return 0;
_config_ibox_module(face->con, face->ibox);
for (l = e->boxes; l; l = l->next)
{
IBox_Box *face;
face = l->data;
if (!face) return 0;
if (face->con == e_container_current_get(e_manager_current_get()))
_config_ibox_module(face->con, face->ibox);
}
evas_list_free(l);
return 1;
}
@ -259,7 +266,7 @@ _ibox_new()
}
static void
_ibox_free(IBox *ib)
_ibox_free(IBox *ib)
{
E_CONFIG_DD_FREE(conf_edd);
E_CONFIG_DD_FREE(conf_box_edd);