fix infinite loop when changing ibar sources

fix T1951
This commit is contained in:
Mike Blumenkrantz 2015-04-30 17:04:47 -04:00
parent 038df92cdd
commit e9420be020
1 changed files with 4 additions and 1 deletions

View File

@ -207,7 +207,10 @@ _ibar_order_refresh(IBar *b, const char *path)
/* else same order, refresh all users */
}
else
io = b->io = _ibar_order_new(b, path);
{
_ibar_order_del(b);
io = b->io = _ibar_order_new(b, path);
}
EINA_INLIST_FOREACH(io->bars, bar)
{
_ibar_empty(bar);