2013-01-06 Jaehyun Cho (jae_hyun_cho@naver.com)
* Fix omitting signal emission when customized text parts change the text.
+
+2013-01-08 Jaehwan Kim
+
+ * Fix the bug which the callbacks of the sub-object are added even if the sub-object is added the parent object.
Fixes:
* Fix omitting signal emission when customized text parts change the text.
+ * Fix the bug which the callbacks of the sub-object are added even if the sub-object is added the parent object.
Changes since Elementary 1.7.4:
-------------------------
_elm_flip_smart_sub_object_add(Evas_Object *obj,
Evas_Object *sobj)
{
+ if (evas_object_data_get(sboj, "elm-parent") == obj)
+ return EINA_TRUE;
+
if (!ELM_WIDGET_CLASS(_elm_flip_parent_sc)->sub_object_add(obj, sobj))
return EINA_FALSE;
{
ELM_HOVER_DATA_GET(obj, sd);
+ if (evas_object_data_get(sboj, "elm-parent") == obj)
+ return EINA_TRUE;
+
if (!ELM_WIDGET_CLASS(_elm_hover_parent_sc)->sub_object_add(obj, sobj))
return EINA_FALSE;
_elm_layout_smart_sub_object_add(Evas_Object *obj,
Evas_Object *sobj)
{
+ if (evas_object_data_get(sboj, "elm-parent") == obj)
+ return EINA_TRUE;
+
if (!ELM_WIDGET_CLASS(_elm_layout_parent_sc)->sub_object_add(obj, sobj))
return EINA_FALSE;