mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 08:30:59 +00:00
Fix Services dir
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16568 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0de7e778fe
commit
4277f13318
4 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2003-04-27 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/GSServicesManager.m (+newWithApplication:) Change
|
||||
Services to Library/Services.
|
||||
* Source/NSWorkspace.m (+initilize): Idem.
|
||||
* Tools/make_services.m (main): Idem.
|
||||
|
||||
2003-04-27 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Updates for filesystem change.
|
||||
|
|
|
@ -366,7 +366,7 @@ static NSString *disabledName = @".GNUstepDisabled";
|
|||
|
||||
str = [NSSearchPathForDirectoriesInDomains(NSUserDirectory,
|
||||
NSUserDomainMask, YES) objectAtIndex: 0];
|
||||
str = [str stringByAppendingPathComponent: @"Services"];
|
||||
str = [str stringByAppendingPathComponent: @"Library/Services"];
|
||||
path = [str stringByAppendingPathComponent: servicesName];
|
||||
manager->_servicesPath = [path copy];
|
||||
path = [str stringByAppendingPathComponent: disabledName];
|
||||
|
|
|
@ -327,7 +327,7 @@ static NSString *_rootPath = @"/";
|
|||
NSUserDomainMask,
|
||||
YES)
|
||||
objectAtIndex: 0]
|
||||
stringByAppendingPathComponent: @"Services"];
|
||||
stringByAppendingPathComponent: @"Library/Services"];
|
||||
|
||||
/*
|
||||
* Load file extension preferences.
|
||||
|
|
|
@ -204,7 +204,7 @@ main(int argc, char** argv, char **env_c)
|
|||
|
||||
str = usrRoot; /* Record for adding into roots array */
|
||||
|
||||
usrRoot = [str stringByAppendingPathComponent: @"Services"];
|
||||
usrRoot = [str stringByAppendingPathComponent: @"Library/Services"];
|
||||
if (([mgr fileExistsAtPath: usrRoot isDirectory: &isDir] && isDir) == 0)
|
||||
{
|
||||
if ([mgr createDirectoryAtPath: usrRoot attributes: nil] == NO)
|
||||
|
|
Loading…
Reference in a new issue