genlist: send a disabled signal when the decorated item is unrealized.

This commit is contained in:
ChunEon Park 2014-12-29 21:44:07 +09:00
parent 40f50c0a55
commit 5b2493b7af
1 changed files with 3 additions and 0 deletions

View File

@ -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));