discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep directory in userhome


From: Michael Scheibler
Subject: Re: GNUstep directory in userhome
Date: Mon, 5 Mar 2001 10:25:45 +0100

NSUserDefaults.m:
/* User's Defaults database */
static NSString *GNU_UserDefaultsPrefix = @"GNUstep";
static NSString *GNU_UserDefaultsDatabase = @".GNUstepDefaults";
static NSString *GNU_UserDefaultsDatabaseLock = @".GNUstepUDLock";

Would it be possible, to make the location of the defaults database
variable? Why doesn't NSUserDefaults read the environment variable
GNUSTEP_USER_ROOT?

Michael

----- Original Message -----
From: "Richard" <richard@brainstorm.co.uk>
To: "Michael Scheibler" <michael.scheibler@onevision.de>
Sent: Thursday, March 01, 2001 3:37 PM
Subject: Re: GNUstep directory in userhome


> Michael Scheibler wrote:
>
> > I intend to use only gnustep-base on mingw32. Unfortunately gnustep
creates
> > its user defaults in my home directory. It contains no necessary
> > information - and it won't ever.
> > I agree that it is necessary if using teh complete gnustep environment,
but
> > I only want to use it as class library for my software.
> > Is it possible to include a switch to turn off this feature?
>
> Not trivially (though it wouldn't be *too* hard).
>
> Of course, any switch of this sort would normally be a user default ...
>
> Are you sure you will never want to use the NSUserDefaults class?
> It's used for all sorts of things - localisation for instance.
>




reply via email to

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