projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b9368f
)
genlist: add changed size hint when realization mode enabled
author
SangHyeon Lee
<sh10233.lee@samsung.com>
Tue, 15 Nov 2016 04:48:25 +0000
(13:48 +0900)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Thu, 17 Nov 2016 08:07:49 +0000
(17:07 +0900)
Change-Id: I57883561036d3fad80ec067f7d93c59478fba1f7
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
src/mobile_lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/mobile_lib/elm_genlist.c
b/src/mobile_lib/elm_genlist.c
index
28843d7
..
e3524b6
100644
(file)
--- a/
src/mobile_lib/elm_genlist.c
+++ b/
src/mobile_lib/elm_genlist.c
@@
-804,6
+804,13
@@
_item_content_realize(Elm_Gen_Item *it,
if (eo_do_ret(EO_OBJ(it), tmp, elm_wdg_item_disabled_get()))
elm_widget_disabled_set(content, EINA_TRUE);
+ if (GL_IT(it)->wsd->realization_mode)
+ {
+ evas_object_event_callback_add
+ (content, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
+ _changed_size_hints, it);
+ }
+
snprintf(buf, sizeof(buf), "elm,state,%s,visible", key);
edje_object_signal_emit(target, buf, "elm");
out: