tasn pushed a commit to branch master.

http://git.enlightenment.org/tools/clouseau.git/commit/?id=763175865eacd50464b58cf931da841dc1382572

commit 763175865eacd50464b58cf931da841dc1382572
Author: Tom Hacohen <t...@stosb.com>
Date:   Thu Nov 7 10:37:56 2013 +0000

    client: get eo class name, not evas object name as name.
    
    The Eo class name works for more types of objects and is also more
    correct.
---
 src/lib/clouseau_app.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/clouseau_app.c b/src/lib/clouseau_app.c
index 5a282d3..513cfd0 100644
--- a/src/lib/clouseau_app.c
+++ b/src/lib/clouseau_app.c
@@ -22,7 +22,7 @@ libclouseau_item_add(Evas_Object *o, Clouseau_Tree_Item 
*parent)
    treeit->ptr = (uintptr_t) o;
    treeit->is_obj = EINA_TRUE;
 
-   treeit->name = eina_stringshare_add(evas_object_type_get(o));
+   treeit->name = eina_stringshare_add(eo_class_name_get(o));
    treeit->is_clipper = !!evas_object_clipees_get(o);
    treeit->is_visible = evas_object_visible_get(o);
    treeit->info = _clouseau_object_information_get(treeit);

-- 


Reply via email to