xartigas pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a21dacbad6c6fef31df5f1bd3655d511902af9d2
commit a21dacbad6c6fef31df5f1bd3655d511902af9d2 Author: Mike Blumenkrantz <[email protected]> Date: Thu Sep 26 17:03:28 2019 +0200 efl_ui/layout: use better check for determining whether to defer signals Summary: a layout (not layout_base) should not defer signals. theme groups loaded by a layout widget can be anything, and are not subject to the versioning requirements that efl widgets have Depends on D10055 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10192 --- src/lib/elementary/efl_ui_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c index 98f76e1749..6d58277e72 100644 --- a/src/lib/elementary/efl_ui_layout.c +++ b/src/lib/elementary/efl_ui_layout.c @@ -264,7 +264,7 @@ _signals_emit(Efl_Ui_Layout_Data *sd, use = buf2; snprintf(buf, sizeof(buf), "efl,state,%s,%s", type, set ? "set" : "unset"); snprintf(buf2, sizeof(buf2), "efl,%s,%s", type, set ? "set" : "unset"); - if (efl_finalized_get(sd->obj)) + if (efl_isa(sd->obj, EFL_UI_LAYOUT_CLASS) || efl_finalized_get(sd->obj)) efl_layout_signal_emit(sd->obj, use, "efl"); else _defer_version_signal(sd, eina_stringshare_add(buf), eina_stringshare_add(buf2), 123); --
