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:
1ef687e
)
genlist: send a signal internally.
author
ChunEon Park
<hermet@hermet.pe.kr>
Mon, 29 Dec 2014 13:15:16 +0000
(22:15 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Mon, 29 Dec 2014 13:16:34 +0000
(22:16 +0900)
send a signal so that item set it's style according to it's depth
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
f85229b
..
9346396
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-1832,6
+1832,15
@@
_item_realize(Elm_Gen_Item *it,
evas_object_smart_callback_call(WIDGET(it), SIG_REALIZED, EO_OBJ(it));
}
+ //Send signal so that item set it's style according to it's depth
+ if (GL_IT(it)->expanded_depth > 0)
+ {
+ char buf[126];
+ snprintf(buf, sizeof(buf), "elm,state,expanded_depth,%d",
+ GL_IT(it)->expanded_depth);
+ edje_object_signal_emit(VIEW(it), buf, "elm");
+ }
+
if ((!calc) && (sd->decorate_all_mode) &&
(it->item->type != ELM_GENLIST_ITEM_GROUP))
{