hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=d971e327498ba84686ed5b0b97395af42b91a651

commit d971e327498ba84686ed5b0b97395af42b91a651
Author: ChunEon Park <[email protected]>
Date:   Mon Dec 29 21:44:07 2014 +0900

    genlist: send a disabled signal when the decorated item is unrealized.
---
 src/lib/elm_genlist.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index b1a27be..f85229b 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -119,6 +119,7 @@ static const char SIGNAL_EXPANDED[] = "elm,state,expanded";
 static const char SIGNAL_CONTRACTED[] = "elm,state,contracted";
 static const char SIGNAL_FLIP_ENABLED[] = "elm,state,flip,enabled";
 static const char SIGNAL_DECORATE_ENABLED[] = "elm,state,decorate,enabled";
+static const char SIGNAL_DECORATE_DISABLED[] = "elm,state,decorate,disabled";
 static const char SIGNAL_DECORATE_ENABLED_EFFECT[] = 
"elm,state,decorate,enabled,effect";
 static const char SIGNAL_REORDER_ENABLED[] = "elm,state,reorder,enabled";
 static const char SIGNAL_REORDER_DISABLED[] = "elm,state,reorder,disabled";
@@ -3530,6 +3531,8 @@ _decorate_all_item_unrealize(Elm_Gen_Item *it)
                &(GL_IT(it)->deco_all_contents), &(GL_IT(it)->deco_all_states),
                &(GL_IT(it)->deco_all_content_objs));
 
+   edje_object_signal_emit(VIEW(it), SIGNAL_DECORATE_DISABLED, "elm");
+
    edje_object_message_signal_process(it->deco_all_view);
    _item_mouse_callbacks_del(it, it->deco_all_view);
    _item_mouse_callbacks_add(it, VIEW(it));

-- 


Reply via email to