Use application-x-executable for unparseable desktop entries (issue #570)

This commit is contained in:
o9000
2016-03-07 22:37:32 +01:00
parent 3811929a6e
commit 856ac5d821
2 changed files with 7 additions and 1 deletions

View File

@@ -711,6 +711,9 @@ char *get_icon_path_from_cache(IconThemeWrapper *wrapper, const char *icon_name,
return NULL;
}
if (!g_file_test(value, G_FILE_TEST_EXISTS))
return NULL;
// fprintf(stderr, "Icon path found in cache: theme = %s, icon = %s, size = %d, path = %s\n", wrapper->icon_theme_name, icon_name, size, value);
return strdup(value);