On Sat, 6 Sep 2008 01:43:08 +0200 (CEST) Dave Andreoli <[EMAIL PROTECTED]> babbled:
> Hi guys > I'm working on make edje editor to edit 'data' fields in the top level (not > at part level). When you edje_cc the file the data is stored in the > EdjeFile->data list (EvasList), then when the edje file is loaded the list is > readed and the data is stored in the EdjeFile->data_cache (EvasHash) for a > faster lookup. My problem is that when the data go in the hash the list is > cleared and only the hash is keep in the edje structs. In this way if you > save the edje file and reopen it all the data is lost, becouse the list is > empty this time. > > How can we solve this? I have 2 ideas: > 1. don't clear the list when the hash is created (really simple) > 2. when compile the edc store the data directly in the hash, without using > the list at all (more difficult) #2. :) (i know you didn't want to hear that!) :) -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel