Monotone-Parent: b71e0e986f6831af4e2277975bc3b9740f40ca95

Monotone-Revision: 5c9300366a0bd3366cad156340ce2158a534554b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-10-16T22:30:02
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-10-16 22:30:02 +00:00
parent 3cc531173c
commit 68008ddf8f
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
2007-10-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Mailer/SOGoMailFolder.m ([SOGoMailFolder
-initWithName:newNameinContainer:newContainer]): the owner of a
shared folder is set to "nobody" by default.
* UI/Common/UIxAclEditor.m ([UIxAclEditor -hasOwner]): new method
that returns whether the object has an owner or not.

View File

@@ -63,7 +63,7 @@ static BOOL useAltNamespace = NO;
folder = [mailAccount sharedFolderName];
if (folder && [path hasPrefix: folder])
[self setOwner: @"anyone"];
[self setOwner: @"nobody"];
else
{
folder = [mailAccount otherUsersFolderName];
@@ -73,7 +73,7 @@ static BOOL useAltNamespace = NO;
if ([names count] > 1)
[self setOwner: [names objectAtIndex: 1]];
else
[self setOwner: @"anyone"];
[self setOwner: @"nobody"];
}
}
}