From e3d4e1755aebe39fd3c0393340e3fba27621d12d Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 25 May 2007 21:20:31 +0000 Subject: [PATCH] Monotone-Parent: d98519ee9416f281001d26da0a9ba8a76729997b Monotone-Revision: feca1b329fdb19a68bf8372a1b89123aa849b31c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-25T21:20:31 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/Mailer/SOGoMailAccount.h | 4 ++++ SoObjects/Mailer/SOGoMailAccount.m | 10 ++++++++++ 3 files changed, 18 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8c5661472..f598d4a11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-05-25 Wolfgang Sourdeau + * SoObjects/Mailer/SOGoMailAccount.m ([SOGoMailAccount + -sharedFolderName]): new method. + ([SOGoMailAccount -otherUsersFolderName]): new method. + * UI/MailerUI/UIxMailFolderMenu.[hm]: removed module, obsoleted by new javascript code and the new UIxMailAccountActions class. diff --git a/SoObjects/Mailer/SOGoMailAccount.h b/SoObjects/Mailer/SOGoMailAccount.h index 00fa792f6..23a866140 100644 --- a/SoObjects/Mailer/SOGoMailAccount.h +++ b/SoObjects/Mailer/SOGoMailAccount.h @@ -69,6 +69,10 @@ - (SOGoMailFolder *)sentFolderInContext:(id)_ctx; - (SOGoMailFolder *)trashFolderInContext:(id)_ctx; +/* user defaults */ +- (NSString *) sharedFolderName; +- (NSString *) otherUsersFolderName; + @end #endif /* __Mailer_SOGoMailAccount_H__ */ diff --git a/SoObjects/Mailer/SOGoMailAccount.m b/SoObjects/Mailer/SOGoMailAccount.m index a1c6285d9..a9a148aa2 100644 --- a/SoObjects/Mailer/SOGoMailAccount.m +++ b/SoObjects/Mailer/SOGoMailAccount.m @@ -418,4 +418,14 @@ static BOOL useAltNamespace = NO; return [self shortTitle]; } +- (NSString *) sharedFolderName +{ + return sharedFolderName; +} + +- (NSString *) otherUsersFolderName +{ + return otherUsersFolderName; +} + @end /* SOGoMailAccount */