mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-11 00:08:51 +00:00
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:
@@ -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.
|
||||
|
||||
|
||||
@@ -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"];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user