Fix IBar config to check for current container

SVN revision: 19420
This commit is contained in:
Christopher Michael 2005-12-30 13:54:44 +00:00
parent 63ccd7f154
commit bb4b7078ec
1 changed files with 9 additions and 1 deletions

View File

@ -166,10 +166,18 @@ e_modapi_config(E_Module *m)
{
IBar *ib;
E_Container *con;
Evas_List *l;
ib = m->data;
con = e_container_current_get(e_manager_current_get());
if (ib) _config_ibar_module(con, ib);
for (l = ib->bars; l; l = l->next)
{
IBar_Bar *ibb;
ibb = l->data;
if (ibb->con == con) _config_ibar_module(con, ib);
break;
}
return 1;
}