|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
gconf doubtsHello people.
I've been playing around with gconf for a while and was able to store (and load) preferences for my program. Still, a few things are confusing: - As things got more complicated (in my program), I decided to subdivide saving of options and made (manually) two subdirectories in the original app's. They didn't appear until an empty %gconf.xml was copied inside. - Can keys and directories be at the same level? I.e., can I have directories and a non-empty %gconf.xml at the same level? I did a few tests and found that it was _not_ possible, but I may have made some mistakes there. - Am I mistaken that the file/dir permissions _have_ to be 600/700? Is there somewhere I can read these technical items? They don't seem to documented in the main docs. John _______________________________________________ gconf-list mailing list gconf-list@... http://mail.gnome.org/mailman/listinfo/gconf-list |
|
|
Re: gconf doubtsHi,
gconf is supposed to be abstracting the file storage, in fact it can theoretically have multiple backends doing the file storage in different ways. That's why this stuff is not documented. On Thu, Mar 5, 2009 at 8:57 AM, John Coppens <john@...> wrote: > - As things got more complicated (in my program), I decided to subdivide > saving of options and made (manually) two subdirectories in the original > app's. They didn't appear until an empty %gconf.xml was copied inside. That's true. gconfd will probably delete the directories again too, if they are empty. Directories only exist in gconf if there's something in them. > - Can keys and directories be at the same level? I.e., can I have > directories and a non-empty %gconf.xml at the same level? I did a few > tests and found that it was _not_ possible, but I may have made some > mistakes there. No, each key is either a directory or a value. > - Am I mistaken that the file/dir permissions _have_ to be 600/700? The file storage (which files exist, permissions, etc.) is all "undefined" as far as the API contract goes. There's no control over it from the gconf API. Havoc _______________________________________________ gconf-list mailing list gconf-list@... http://mail.gnome.org/mailman/listinfo/gconf-list |
| Free embeddable forum powered by Nabble | Forum Help |