efreet: fix show/nowshow

This partly reverts c700192, as the change here was wrong.
This commit is contained in:
Sebastian Dransfeld 2014-09-30 20:49:16 +02:00
parent 8671a8d8e2
commit d1207854f4
1 changed files with 2 additions and 5 deletions

View File

@ -1120,11 +1120,9 @@ efreet_desktop_environment_check(Efreet_Desktop *desktop)
break;
}
}
if (found)
return 1;
return found;
}
if (desktop->not_show_in)
{
EINA_LIST_FOREACH(desktop->not_show_in, list, val)
@ -1135,8 +1133,7 @@ efreet_desktop_environment_check(Efreet_Desktop *desktop)
break;
}
}
if (found)
return 0;
return !found;
}
return 1;