forked from enlightenment/enlightenment
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:
parent
4129059d88
commit
1b40ea0a0e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue