gconftool-2 for getting schemas



Hi ,

I want to clear some issues regarding gconftool-2 .

[1] If I attach schema structure to a key "KEY' as with schema key
"SCEHMAKEY' { using "gconftool-2 --install-schema-file = ./xxx.schemas"
command  where xxx.schemas is a xml file contaning schema
information  }. 

gconftool-2 --get-schema-name KEY  gives me o/p as  "SCEHMAKEY"
[as what we expect].

[2]But If I attach schema by using schema api:
gconf_client_set_schema(),  

"gconftool-2 --get-schema-name KEY" gives me "no schema set for KEY"

why it is so ?

Where does schema info [xml file] getting stored in both above cases.[as
what I know in $(HOME)/.gconf ] & from where gconftool-2 access the
schema attached to a KEY.

Is there any configuration source path to be added to /etc/gconf/2/path
file. {it has .gconf already}

Thanks in advance:
Umang Gupta







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]