This has been needed for a while !! KUDOS !! :) dh
Enlightenment SVN wrote: > Log: > allow groups if declared later to override (Replace) their prior > declarations. > this basically allows u to #include some .edc then selectively override some > things in it u want changed. > > > > Author: raster > Date: 2008-09-24 01:16:42 -0700 (Wed, 24 Sep 2008) > New Revision: 36204 > > Modified: > trunk/edje/src/bin/edje_cc_handlers.c > > Modified: trunk/edje/src/bin/edje_cc_handlers.c > =================================================================== > --- trunk/edje/src/bin/edje_cc_handlers.c 2008-09-24 07:20:29 UTC (rev > 36203) > +++ trunk/edje/src/bin/edje_cc_handlers.c 2008-09-24 08:16:42 UTC (rev > 36204) > @@ -1194,7 +1194,7 @@ > Edje_Part_Collection_Directory_Entry *de; > Edje_Part_Collection *pc; > Code *cd; > - > + > de = mem_alloc(SZ(Edje_Part_Collection_Directory_Entry)); > edje_file->collection_dir->entries = > evas_list_append(edje_file->collection_dir->entries, de); > de->id = evas_list_count(edje_file->collection_dir->entries) - 1; > @@ -1222,11 +1222,47 @@ > st_collections_group_name(void) > { > Edje_Part_Collection_Directory_Entry *de; > - > + Evas_List *l; > + > check_arg_count(1); > > de = evas_list_data(evas_list_last(edje_file->collection_dir->entries)); > de->entry = parse_str(0); > + for (l = edje_file->collection_dir->entries; l; l = l->next) > + { > + Edje_Part_Collection_Directory_Entry *de_other; > + > + de_other = l->data; > + if ((de_other != de) && (de_other->entry) && > + (!strcmp(de->entry, de_other->entry))) > + { > + Edje_Part_Collection *pc; > + Code *cd; > + int i; > + > + pc = evas_list_nth(edje_collections, de_other->id); > + cd = evas_list_nth(codes, de_other->id); > + > + edje_file->collection_dir->entries = > + evas_list_remove(edje_file->collection_dir->entries, de_other); > + edje_collections = > + evas_list_remove(edje_collections, pc); > + codes = > + evas_list_remove(codes, cd); > + > + for (i = 0, l = edje_file->collection_dir->entries; l; l = > l->next, i++) > + { > + de_other = l->data; > + de_other->id = i; > + } > + for (i = 0, l = edje_collections; l; l = l->next, i++) > + { > + pc = l->data; > + pc->id = i; > + } > + break; > + } > + } > } > > /** > > > ------------------------------------------------------------------------- > 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-svn mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > ------------------------------------------------------------------------- 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