clouseau: Only expand the "Evas" in the obj information genlist.

SVN revision: 62912
This commit is contained in:
Tom Hacohen 2011-08-28 09:46:44 +00:00
parent adbb0c972d
commit ae72e8e13d
1 changed files with 7 additions and 2 deletions

View File

@ -550,14 +550,19 @@ clouseau_obj_information_list_populate(Tree_Item *treeit)
{
Eina_List *itr;
Inf_Tree_Item *tit;
Eina_Bool first_it = EINA_TRUE;
EINA_LIST_FOREACH(information_tree, itr, tit)
{
Elm_Genlist_Item *git;
git = elm_genlist_item_append(prop_list, &itc, tit, NULL,
ELM_GENLIST_ITEM_SUBITEMS, _gl_selected, NULL);
/* Start with all the base item expanded */
elm_genlist_item_expanded_set(git, EINA_TRUE);
if (first_it)
{
/* Start with all the base item expanded */
elm_genlist_item_expanded_set(git, EINA_TRUE);
first_it = EINA_FALSE;
}
}
}