Also list applications that cannot open files

This commit is contained in:
Pierre Pronchery 2018-01-22 02:01:00 +01:00
parent 524c8c2f6c
commit 32312683e7

View File

@ -698,7 +698,7 @@ static void _idle_path(Menu * menu, char const * path, char const * apppath)
}
/* skip this entry if cannot be displayed or opened */
if(mimehandler_can_display(handler) == 0
|| mimehandler_can_open(handler) == 0)
|| mimehandler_can_execute(handler) == 0)
{
mimehandler_delete(handler);
continue;