Re: Improving API for lists, or wildcarded schemas



On Mon, 2004-01-26 at 20:04, Tony Houghton wrote:
> 
> ALternatively, instead of using lists I could use options called
> "sensor1", "sensor2" etc all the way up to 16, but defining them all
> properly in the schemas file would bloat it. Is it possible to make one
> schema apply to multiple options eg "sensor*"? If not, would it be
> reasonable to add such a capability?

You can have multiple <applyto>, I think there's an example in
metacity.schemas - not sure if this helps or not?

The problem with wildcarding is there's nothing to match against at
schemas install time, so it would need to be a runtime match - unclear
how to implement that in gconfd.

Havoc





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