summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorLarry Jr <larry.olj@gmail.com>2017-06-07 14:20:41 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-06-08 19:12:13 -0300
commit891976ae1c31cd7595becbe86c9047714cf5ce5b (patch)
treea93f6ac31caee49f3de729c7053910599c587d78 /src/lib/ecore
parenta7e8dff3e4e0639069cfb578fba75c63d09544f8 (diff)
Ecore: fix Efl.Model.Item
sent property_changed signal in property_set
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/efl_model_item.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ecore/efl_model_item.c b/src/lib/ecore/efl_model_item.c
index d8566d9107..5f61ee79e9 100644
--- a/src/lib/ecore/efl_model_item.c
+++ b/src/lib/ecore/efl_model_item.c
@@ -72,6 +72,7 @@ _efl_model_item_efl_model_property_set(Eo *obj EINA_UNUSED, Efl_Model_Item_Data
72{ 72{
73 Efl_Promise *promise = efl_add(EFL_PROMISE_CLASS, ecore_main_loop_get()); 73 Efl_Promise *promise = efl_add(EFL_PROMISE_CLASS, ecore_main_loop_get());
74 Efl_Future* future = efl_promise_future_get(promise); 74 Efl_Future* future = efl_promise_future_get(promise);
75 Efl_Model_Property_Event evt;
75 76
76 Eina_Stringshare *sshared = eina_stringshare_add(property); 77 Eina_Stringshare *sshared = eina_stringshare_add(property);
77 Eina_Value *p_v = eina_hash_find(sd->properties, sshared); 78 Eina_Value *p_v = eina_hash_find(sd->properties, sshared);
@@ -96,6 +97,12 @@ _efl_model_item_efl_model_property_set(Eo *obj EINA_UNUSED, Efl_Model_Item_Data
96 } 97 }
97 98
98 efl_promise_value_set(promise, p_v, NULL); 99 efl_promise_value_set(promise, p_v, NULL);
100
101 evt.changed_properties = eina_array_new(20);
102 eina_array_push(evt.changed_properties, property);
103 efl_event_callback_call(obj, EFL_MODEL_EVENT_PROPERTIES_CHANGED, &evt);
104 eina_array_free(evt.changed_properties);
105
99 return future; 106 return future;
100 107
101err4: 108err4: