entrance: better check for icon part

This commit is contained in:
Marcel Hollerbach 2014-04-09 10:34:38 +02:00
parent c3f817b849
commit 03816ba814
1 changed files with 8 additions and 5 deletions

View File

@ -159,11 +159,14 @@ _entrance_conf_session_text_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UN
exs = data;
if (!part)
return strdup(exs->name);
else
if (exs->icon)
return strdup(exs->icon);
else
return NULL;
else if((part) && (!strcmp(part, "icon")))
{
if (exs->icon)
return strdup(exs->icon);
else
return NULL;
}
return NULL;
}
static Evas_Object *