Re: dconf



Le vendredi 03 avril 2009 à 15:25 -0400, Ryan Lortie a écrit :
> The concept of mandatory keys is actually being cribbed from the way 
> that KDE does it more or less.  ie: you have an ordering of databases. 
> The "user" one being on one extreme end and the "distro default" or 
> whatever being on the other.  In between maybe you have "site default" 
> "host default", however, as you please.
> 
>      distro       site          host             user
>      default     default       default         settings
> 
> The setting is taken from the rightmost database that has the key set. 
> However, if there is a 'mandatory' key set somewhere, then the leftmost 
> takes precedence.  This allows the 'site' admin to set mandatory keys 
> that even the 'host' defaults cannot override, for example.

Great. This should allow to do things very similar to what we currently
do with GConf.

-- 
 .''`.      Debian 5.0 "Lenny" has been released!
: :' :
`. `'   Last night, Darth Vader came down from planet Vulcan and told
  `-    me that if you don't install Lenny, he'd melt your brain.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



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