projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f730921
)
efl_ui : apply item part visible signal properly.
author
SangHyeon Jade Lee
<sh10233.lee@samsung.com>
Mon, 22 Jul 2019 11:12:30 +0000
(11:12 +0000)
committer
WooHyun Jung
<wh0705.jung@samsung.com>
Mon, 5 Aug 2019 01:47:34 +0000
(10:47 +0900)
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
src/lib/elementary/efl_ui_item.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/efl_ui_item.c
b/src/lib/elementary/efl_ui_item.c
index
8b16afd
..
432486b
100644
(file)
--- a/
src/lib/elementary/efl_ui_item.c
+++ b/
src/lib/elementary/efl_ui_item.c
@@
-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);
}