forked from enlightenment/efl
efl_ui : apply item part visible signal properly.
efl_layout_signal is being overrided by efl_ui_layout, so do not call the signal emit on resize object directly, call the signal emit on the item widget. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9233
This commit is contained in:
parent
18c7a90f7a
commit
670b7b4a83
|
@ -28,7 +28,6 @@ _efl_ui_item_part_text_efl_text_text_set(Eo *obj, void *pd EINA_UNUSED, const ch
|
|||
Elm_Part_Data *wd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS);
|
||||
efl_text_set(efl_part(efl_super(wd->obj, MY_CLASS), wd->part), text);
|
||||
|
||||
efl_layout_signal_emit(wd->obj, "efl,state,text,set", "efl");
|
||||
elm_layout_sizing_eval(wd->obj);
|
||||
}
|
||||
|
||||
|
@ -45,7 +44,6 @@ _efl_ui_item_part_text_efl_text_markup_markup_set(Eo *obj, void *pd EINA_UNUSED,
|
|||
Elm_Part_Data *wd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS);
|
||||
efl_text_markup_set(efl_part(efl_super(wd->obj, MY_CLASS), wd->part), markup);
|
||||
|
||||
efl_layout_signal_emit(obj, "efl,state,text,set", "efl");
|
||||
elm_layout_sizing_eval(obj);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue