No need to search for the icon if we already have it.

SVN revision: 25298
This commit is contained in:
David Walter Seikel 2006-09-01 15:06:30 +00:00
parent 7b44540e45
commit 3ab8e8f86b
1 changed files with 2 additions and 1 deletions

View File

@ -1165,11 +1165,12 @@ e_app_fields_fill(E_App *a, const char *path)
if (desktop->exec) a->exe = evas_stringshare_add(desktop->exec);
if (desktop->icon_class) a->icon_class = evas_stringshare_add(desktop->icon_class);
if (desktop->icon_path) a->icon_path = evas_stringshare_add(desktop->icon_path);
if (desktop->window_class) a->win_class = evas_stringshare_add(desktop->window_class);
if (desktop->startup)
a->startup_notify = *(desktop->startup);
if (desktop->icon)
if ((desktop->icon) && (!desktop->icon_path))
{
/* FIXME: Should do this only when needed, is it can be expensive. */
/* FIXME: Use a real icon size. */