Prefix internal efreet cache keys with __

SVN revision: 56597
This commit is contained in:
Sebastian Dransfeld 2011-01-31 11:44:46 +00:00
parent 8309f40d0f
commit 7279143b7e
3 changed files with 8 additions and 3 deletions

View File

@ -49,3 +49,8 @@
2011-01-XX Sebastian Dransfeld
* Check if theme has changed when building cache
2011-01-XX Sebastian Dransfeld
* Prefix internal efreet cache keys with __

View File

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

View File

@ -1,8 +1,8 @@
#ifndef EFREET_CACHE_PRIVATE_H
#define EFREET_CACHE_PRIVATE_H
#define EFREET_CACHE_VERSION "efreet//version"
#define EFREET_CACHE_ICON_FALLBACK "efreet//fallback"
#define EFREET_CACHE_VERSION "__efreet//version"
#define EFREET_CACHE_ICON_FALLBACK "__efreet_fallback"
Eina_Bool efreet_cache_check(Eet_File **ef, const char *path, int major);
void *efreet_cache_close(Eet_File *ef);