Prefix internal efreet cache keys with __
authorSebastian Dransfeld <sd@tango.flipp.net>
Mon, 31 Jan 2011 11:44:46 +0000 (11:44 +0000)
committerSebastian Dransfeld <sd@tango.flipp.net>
Mon, 31 Jan 2011 11:44:46 +0000 (11:44 +0000)
SVN revision: 56597

legacy/efreet/ChangeLog
legacy/efreet/src/bin/efreet_icon_cache_create.c
legacy/efreet/src/lib/efreet_cache_private.h

index 0c4349b5a82fd363a4c49c73ca9ce56eb4c8fc95..c33ac466506bf3e5f9e29822832eb44034110f33 100644 (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 __
+
index c44e025c2f0ebcc6a138c163404fabcce6b5500f..d060ad8c772bb74b0a12f6a7d77f6564d76ba98b 100644 (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);
         }
index 8db044fe41686ecd024a9c71632d08ff4eacd2bd..e83802aad07f33b908806bc1d0f87453479ab328 100644 (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);