mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:00:47 +00:00
Fixup code locatting user domain library directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24777 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c971dc22ef
commit
459f7f2797
3 changed files with 14 additions and 9 deletions
|
@ -1,8 +1,15 @@
|
||||||
|
2007-03-08 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/GSServicesManager.m:
|
||||||
|
* Source/NSWorkspace.m:
|
||||||
|
Fix usage of NSSearchPathForDirectoriesInDomains() to match new
|
||||||
|
filesystem support changes.
|
||||||
|
|
||||||
2007-03-04 Richard Frith-Macdonald <rfm@gnu.org>
|
2007-03-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSSpellServer.m: deleted
|
* Source/NSSpellServer.m: deleted
|
||||||
* Source/GNUmakefile: remove NSSpellServer.m
|
* Source/GNUmakefile: remove NSSpellServer.m
|
||||||
* Source/NSSpellChecker.m: include NSSpellServer.h fro base
|
* Source/NSSpellChecker.m: include NSSpellServer.h from base
|
||||||
* Headers/AppKit/NSSpellServer.h: deleted
|
* Headers/AppKit/NSSpellServer.h: deleted
|
||||||
* Headers/AppKit/AppKit.h remove NSSpellServer.h
|
* Headers/AppKit/AppKit.h remove NSSpellServer.h
|
||||||
Moved NSSpellServer to base for macos-x compatibility.
|
Moved NSSpellServer to base for macos-x compatibility.
|
||||||
|
|
|
@ -521,9 +521,9 @@ static NSString *disabledName = @".GNUstepDisabled";
|
||||||
|
|
||||||
manager = [GSServicesManager alloc];
|
manager = [GSServicesManager alloc];
|
||||||
|
|
||||||
str = [NSSearchPathForDirectoriesInDomains(NSUserDirectory,
|
str = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory,
|
||||||
NSUserDomainMask, YES) objectAtIndex: 0];
|
NSUserDomainMask, YES) objectAtIndex: 0];
|
||||||
str = [str stringByAppendingPathComponent: @"Library/Services"];
|
str = [str stringByAppendingPathComponent: @"Services"];
|
||||||
path = [str stringByAppendingPathComponent: servicesName];
|
path = [str stringByAppendingPathComponent: servicesName];
|
||||||
manager->_servicesPath = [path copy];
|
manager->_servicesPath = [path copy];
|
||||||
path = [str stringByAppendingPathComponent: disabledName];
|
path = [str stringByAppendingPathComponent: disabledName];
|
||||||
|
|
|
@ -524,17 +524,15 @@ static NSString *_rootPath = @"/";
|
||||||
|
|
||||||
NS_DURING
|
NS_DURING
|
||||||
{
|
{
|
||||||
service = [[NSSearchPathForDirectoriesInDomains(NSUserDirectory,
|
service = [[NSSearchPathForDirectoriesInDomains(NSLibraryDirectory,
|
||||||
NSUserDomainMask,
|
NSUserDomainMask, YES) objectAtIndex: 0]
|
||||||
YES)
|
stringByAppendingPathComponent: @"Services"];
|
||||||
objectAtIndex: 0]
|
|
||||||
stringByAppendingPathComponent: @"Library/Services"];
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Load file extension preferences.
|
* Load file extension preferences.
|
||||||
*/
|
*/
|
||||||
extPrefPath = [service
|
extPrefPath = [service
|
||||||
stringByAppendingPathComponent: @".GNUstepExtPrefs"];
|
stringByAppendingPathComponent: @".GNUstepExtPrefs"];
|
||||||
RETAIN(extPrefPath);
|
RETAIN(extPrefPath);
|
||||||
if ([mgr isReadableFileAtPath: extPrefPath] == YES)
|
if ([mgr isReadableFileAtPath: extPrefPath] == YES)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue