forked from enlightenment/enlightenment
Fix IBox Configure Call to check for current container
SVN revision: 19421
This commit is contained in:
parent
bb4b7078ec
commit
1e1eea1558
|
@ -149,14 +149,21 @@ int
|
||||||
e_modapi_config(E_Module *m)
|
e_modapi_config(E_Module *m)
|
||||||
{
|
{
|
||||||
IBox *e;
|
IBox *e;
|
||||||
IBox_Box *face;
|
Evas_List *l;
|
||||||
|
|
||||||
e = m->data;
|
e = m->data;
|
||||||
if (!e) return 0;
|
if (!e) return 0;
|
||||||
if (!e->boxes) return 0;
|
if (!e->boxes) return 0;
|
||||||
face = e->boxes->data;
|
|
||||||
if (!face) return 0;
|
for (l = e->boxes; l; l = l->next)
|
||||||
_config_ibox_module(face->con, face->ibox);
|
{
|
||||||
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -259,7 +266,7 @@ _ibox_new()
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_ibox_free(IBox *ib)
|
_ibox_free(IBox *ib)
|
||||||
{
|
{
|
||||||
E_CONFIG_DD_FREE(conf_edd);
|
E_CONFIG_DD_FREE(conf_edd);
|
||||||
E_CONFIG_DD_FREE(conf_box_edd);
|
E_CONFIG_DD_FREE(conf_box_edd);
|
||||||
|
|
Loading…
Reference in New Issue