Page MenuHomePhabricator

layout: fix "elm,state,text,hidden" signal never be emitted
ClosedPublic

Authored by Blackmole on Jul 27 2017, 11:18 PM.

Details

Summary

In _elm_layout_text_set function, text_signal_emit is called.
But in that case, check text whether it is null or not null before call signal_emit.
So "text" is not null always, and text_signal_emit's parameter "visible" is also always EINA_TRUE.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Blackmole created this revision.Jul 27 2017, 11:18 PM
Jaehyun_Cho accepted this revision.Aug 3 2017, 11:33 PM
This revision is now accepted and ready to land.Aug 3 2017, 11:33 PM
This revision was automatically updated to reflect the committed changes.