Don't include any apps that are specifically for other window managers, but

do include any that are specifically for us.


SVN revision: 26961
This commit is contained in:
David Walter Seikel 2006-11-05 12:02:52 +00:00
parent 4129059d88
commit 1b40ea0a0e
1 changed files with 4 additions and 1 deletions

View File

@ -226,7 +226,10 @@ _e_fdo_menu_to_order_cb_desktop_foreach(void *list_data, void *data)
desktop = ecore_desktop_get(path, 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 *category;
Ecore_Hash *menu;