From e9420be0209dcbf4b0e5d72ad0add4ec8eb9e64b Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 30 Apr 2015 17:04:47 -0400 Subject: [PATCH] fix infinite loop when changing ibar sources fix T1951 --- src/modules/ibar/e_mod_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index c17c52998..2c9a266ef 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -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);