Oops, needed this check in two places.

SVN revision: 27077
This commit is contained in:
David Walter Seikel 2006-11-12 17:18:59 +00:00
parent ac25c1fb67
commit 2d3c6a7ecb
1 changed files with 4 additions and 1 deletions

View File

@ -125,7 +125,10 @@ _e_fdo_menu_to_order_dump_each_hash_node(void *value, void *user_data)
desktop = ecore_desktop_get(file, NULL);
/* Check if we process */
if (!desktop) return;
if ( (!desktop->hidden) && (!desktop->no_display) && ((desktop->type == NULL) || (strcmp(desktop->type, "Application") == 0)) )
if ( (!desktop->hidden) && (!desktop->no_display)
&& ((desktop->type == NULL) || (strcmp(desktop->type, "Application") == 0))
&& ((desktop->OnlyShowIn == NULL) ||(ecore_hash_get(desktop->OnlyShowIn, "Enlightenment") != NULL))
&& ((desktop->NotShowIn == NULL) ||(ecore_hash_get(desktop->NotShowIn, "Enlightenment") == NULL)) )
{
char path2[PATH_MAX];