Fixed SYSTEM flag and set non-overridden system props hidden in listings, these will be addressed via the system settings

SVN revision: 9308
This commit is contained in:
handyande 2004-03-09 23:01:05 +00:00 committed by handyande
parent 0396e7e959
commit c0f1433238
2 changed files with 6 additions and 1 deletions

View File

@ -611,7 +611,7 @@ int ecore_config_init(char *name) {
/* unmark it modified - modification will mean it has been overridden */
sys->flags&=~PF_MODIFIED;
/* mark as system so that examine can hide them */
sys->flags&=PF_SYSTEM;
sys->flags|=PF_SYSTEM;
sys=sys->next;
}
}

View File

@ -71,6 +71,11 @@ char *_ecore_config_ipc_prop_list(Ecore_Config_Server *srv, const long serial) {
s=estring_new(8192);
f=0;
while(e) {
/* ignore system properties in listings, unless they have been overridden */
if (e->flags&PF_SYSTEM && !(e->flags&PF_MODIFIED)) {
e=e->next;
continue;
}
estring_appendf(s,"%s%s: %s",f?"\n":"",e->key,ecore_config_get_type(e));
if(e->flags&PF_BOUNDS) {
if (e->type==PT_FLT)