tasn pushed a commit to branch master. http://git.enlightenment.org/tools/clouseau.git/commit/?id=e2f255684d602ba38a5a1a3aa986d0f5bff09166
commit e2f255684d602ba38a5a1a3aa986d0f5bff09166 Author: Tom Hacohen <t...@stosb.com> Date: Mon Mar 31 16:36:57 2014 +0100 Show edje part name in the client. This shows the part name of an edje part in the client. It uses the mock class "Edje_Part" Which is appended at the end of the class list. --- src/lib/clouseau_app.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/lib/clouseau_app.c b/src/lib/clouseau_app.c index 432de0e..69d81f6 100644 --- a/src/lib/clouseau_app.c +++ b/src/lib/clouseau_app.c @@ -353,6 +353,18 @@ _clouseau_object_information_get(Clouseau_Tree_Item *treeit) eo_dbg_info = EO_DBG_INFO_LIST_APPEND(NULL, ""); eo_do(obj, eo_dbg_info_get(eo_dbg_info)); + + /* XXX: Edje information that should be here because Evas objects can't + * depend on Edje. This should be removed in the future. */ + { + const char *part_name = edje_object_part_object_name_get(obj); + if (part_name) + { + Eo_Dbg_Info *group = EO_DBG_INFO_LIST_APPEND(eo_dbg_info, "Edje_Part"); + EO_DBG_INFO_APPEND(group, "Part name", EINA_VALUE_TYPE_STRING, part_name); + } + } + treeit->eo_info = clouseau_eo_to_legacy_convert(eo_dbg_info); eo_dbg_info_free(eo_dbg_info); /* Free original list */ --