efreet: always need to revalidate themes

Themes read from cache are not valid until a valid index file has been
read.

SVN revision: 74865
This commit is contained in:
Sebastian Dransfeld 2012-08-03 20:21:47 +00:00
parent bba5fe4da9
commit 493fd82f35
1 changed files with 1 additions and 0 deletions

View File

@ -893,6 +893,7 @@ main(int argc, char **argv)
{
if (!strncmp(keys[i], "__efreet", 8)) continue;
theme = eet_data_read(theme_ef, theme_edd, keys[i]);
theme->valid = 0;
if (theme) eina_hash_direct_add(icon_themes, theme->theme.name.internal, theme);
}
free(keys);