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
This commit is contained in:
parent
79aa86df5a
commit
a21dacbad6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue