edje: handle custom state to.

This commit is contained in:
Cedric BAIL 2013-03-18 10:44:21 +09:00
parent b754529325
commit 638d6e1dff
1 changed files with 2 additions and 1 deletions

View File

@ -1287,7 +1287,8 @@ _edje_emit_handle(Edje *ed, const char *sig, const char *src,
if (rp->program)
exec = EINA_FALSE;
else
exec = (rp->chosen_description->state.name == pr->filter.state);
exec = (rp->chosen_description->state.name != pr->filter.state) ?
!strcmp(rp->chosen_description->state.name, pr->filter.state) : EINA_TRUE;
}
}