Fix eail_widget's index in parent in eail_explorer
authorMichal Jagiello <m.jagiello@samsung.com>
Thu, 12 Dec 2013 13:52:53 +0000 (14:52 +0100)
committerMichal Jagiello <m.jagiello@samsung.com>
Thu, 12 Dec 2013 13:52:53 +0000 (14:52 +0100)
eail/explorer/src/eail-explorer-ui.c

index 3920e02..aef3514 100644 (file)
@@ -743,9 +743,9 @@ void print_object(Evas_Object *eo, AtkObject *obj, Evas_Object *parent)
                else
                {
                        char *c = NULL;
-                       if (asprintf(&c,"%d", atk_object_get_index_in_parent(parent_obj)) < 0)
+                       if (asprintf(&c,"%d", atk_object_get_index_in_parent(obj)) < 0)
                                EINA_LOG_ERR(ERR_OBJECT_INDEX);
-                       elm_object_text_set(elm_object_part_content_get(eo, "elm.editor.name.label6"), c);
+                       elm_object_text_set(elm_object_part_content_get(eo, "elm.editor.name.label5"), c);
                        free(c);
                }
        }