Re: GConf and bonobo-config - some ideas



Dietmar Maurer <dietmar ximian com> writes:
> Havoc Pennington wrote:
> 
> > Dietmar Maurer <dietmar ximian com> writes:
> > > You mean the arbitrary mapping between a key and the associated schema, i.e. many keys
> > > want to use a single schema? Can you provide some examples where this is useful?
> > >
> >
> > The intended purpose of that is dynamically-created keys. e.g. say you
> > have a "session entry" for an app in the session; all such entries
> > would have the same schema.
> >
> > When creating the dynamic key, apps have to specify the name of the
> > schema to apply to it.
> 
> I don't understand that. Please can you provide a more extensive
> description of that feature, maybe with another example?
> 

You may not know the names of all your keys in advance.

e.g. the "recently used documents" feature I added to gnome-libs once
(now removed due to not being finished) would create a key for each
document, giving the keys globally unique names. Then you can't apply
the schema at gnome-libs install time, you have to do it at key
creation time.

Havoc

_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers




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