From: gastal Date: Fri, 20 Jul 2012 14:05:22 +0000 (+0000) Subject: If there's a filter and a program running don't execute another one. X-Git-Tag: 2.0_alpha~8^2^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c37feadd2edc07697415e968620c9698f03e8706;p=framework%2Fuifw%2Fedje.git If there's a filter and a program running don't execute another one. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@74249 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_program.c b/src/lib/edje_program.c index e08fa3d..70d26bf 100644 --- a/src/lib/edje_program.c +++ b/src/lib/edje_program.c @@ -1157,8 +1157,13 @@ _edje_emit_handle(Edje *ed, const char *sig, const char *src, Edje_Real_Part *rp; rp = _edje_real_part_get(ed, pr->filter.part ? pr->filter.part : src); - if (rp && !rp->program) - exec = (rp->chosen_description->state.name == pr->filter.state); + if (rp) + { + if (rp->program) + exec = EINA_FALSE; + else + exec = (rp->chosen_description->state.name == pr->filter.state); + } } pr->exec = exec;