e17/evry/aggregator: fix check for top-level state

SVN revision: 63022
This commit is contained in:
Hannes Janetzek 2011-08-31 10:38:10 +00:00
parent c20ee998c2
commit 29519a82a2
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ _fetch(Evry_Plugin *plugin, const char *input)
else
input = NULL;
if (!sel->states->next)
if (eina_list_data_get(sel->states) == s)
top_level = 1;
/* get current items' context */
@ -70,7 +70,7 @@ _fetch(Evry_Plugin *plugin, const char *input)
}
/* show non-top-level plugins as item */
if (top_level && (!s->trigger_active))
if ((top_level) && (!s->trigger_active))
{
EINA_LIST_FOREACH(s->plugins, l, pp)
{