Enlightenment CVS committal Author : handyande Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_config Modified Files: Ecore_Config.h ecore_config.c ecore_config_extra.c ecore_config_storage.c Log Message: Ecore_Config no longer saves configurations passed on the command line - due to popular demand =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_config/Ecore_Config.h,v retrieving revision 1.38 retrieving revision 1.39 diff -u -3 -r1.38 -r1.39 --- Ecore_Config.h 25 Nov 2004 05:17:16 -0000 1.38 +++ Ecore_Config.h 27 Nov 2004 23:14:23 -0000 1.39 @@ -60,7 +60,8 @@ PF_NONE = 0, PF_BOUNDS = 1, PF_MODIFIED = 2, - PF_SYSTEM = 4 + PF_SYSTEM = 4, + PF_CMDLN = 8 } Ecore_Config_Flag; /** =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_config/ecore_config.c,v retrieving revision 1.52 retrieving revision 1.53 diff -u -3 -r1.52 -r1.53 --- ecore_config.c 19 Oct 2004 06:34:20 -0000 1.52 +++ ecore_config.c 27 Nov 2004 23:14:23 -0000 1.53 @@ -541,6 +541,7 @@ ecore_config_bound(e); e->flags |= PF_MODIFIED; + e->flags = e->flags & ~PF_CMDLN; return ECORE_CONFIG_ERR_SUCC; } return ECORE_CONFIG_ERR_IGNORED; =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_config/ecore_config_extra.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ecore_config_extra.c 13 Oct 2004 19:43:16 -0000 1.1 +++ ecore_config_extra.c 27 Nov 2004 23:14:28 -0000 1.2 @@ -574,7 +574,10 @@ return ECORE_CONFIG_PARSE_EXIT; } else - ecore_config_set(prop->key, arg); + { + ecore_config_set(prop->key, arg); + prop->flags |= PF_CMDLN; + } return ECORE_CONFIG_PARSE_CONTINUE; } =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_config/ecore_config_storage.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- ecore_config_storage.c 19 Oct 2004 07:41:37 -0000 1.4 +++ ecore_config_storage.c 27 Nov 2004 23:14:30 -0000 1.5 @@ -213,12 +213,15 @@ while (next) { /* let the config_db deal with this - if (!(next->flags & PF_MODIFIED)) + * handyande: hmm, not sure that it ever does - reinstating until + * further discussions satisfy me! + */ + if (!(next->flags & PF_MODIFIED) || next->flags & PF_CMDLN) { next = next->next; continue; } - */ + tmp = NULL; switch (next->type) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs