discuss-gnustep
[Top][All Lists]
Advanced

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

Global Defaults (Re: Associating bundle directories with app)


From: David Chisnall
Subject: Global Defaults (Re: Associating bundle directories with app)
Date: Fri, 21 Jan 2011 12:51:22 +0000

On 21 Jan 2011, at 12:41, Niels Grewe wrote:

>> We have system-wide user defaults settings. 
>> We don't have system-wide app/service caches because (as mentioned earlier 
>> in this thread), there's no point, apart from some potential performance 
>> gain.
> 
> Yes. I got that now (my mail somehow was delayed for about a day). I
> will start telling people about the GlobalDefaults.plist when somebody
> asks me awkward questions again…


I can't remember if this has been asked before, but is this a single file, or 
can we scan a directory for plists providing global defaults?  For packagers, 
the latter is a lot more useful - they can then add and remove defaults 
trivially.  For example, when you install a theme bundle, you can set it as the 
global theme, when you uninstall the theme, you unset this default.

This is nontrivial to implement though.  A typical use-case would be installing 
a user appkit bundle - you'd want to add this to an array in defaults on 
install or remove it from that array on uninstall.  Can plmerge or similar do 
this, and is this documented somewhere that's easy for packagers to find?  

David

-- Sent from my brain


reply via email to

[Prev in Thread] Current Thread [Next in Thread]