applyto in schemas



Hi all,

  I just read that it's possible to apply one schema to several keys. Is
that possible for wildcards too. Imagine I want to map the configuration
of an rss reader to GConf, there's several settings per feed that may be
specified by a schema like this:

name: string
url: string (url)
update interval: int (minutes)
etc.

And I'd like to have these in one folder per feed and have a schema with
this (showing only the important parts):
<schema>
  <key>/schemas/apps/rss-reader/feeds/title</key>
  <applyto>/apps/rss-reader/feeds/*/title</applyto>
</schema>

Is this valid? This way I could add the feeds as gconf folders
below /apps/rss-reader/feeds which would be the way I'd like to present
it to gconf-editor users.

Regards,
  Sven

PS: Please CC me as I'm not subscribed to the list.




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