merge of '92359dd58e30421ba90b8d9411ebae413f553836'
and 'f2cb92adb8ead8e44b81938a9d331584b7752fe4' Monotone-Parent: 92359dd58e30421ba90b8d9411ebae413f553836 Monotone-Parent: f2cb92adb8ead8e44b81938a9d331584b7752fe4 Monotone-Revision: c85488a496026efc268c07b0e8c84d1c1d1983d7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-02-19T14:52:55 Monotone-Branch: ca.inverse.sogomaint-2.0.2
commit
fb12309ed4
|
@ -1,5 +1,9 @@
|
|||
2010-02-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/MailerUI/UIxMailFolderActions.m (-createFolderAction): we
|
||||
check if the clientObject responds to "aboluteImap4Name",
|
||||
otherwise the subscription is made to the folderName alone.
|
||||
|
||||
* Main/SOGo.m (-run): moved initialization logs from +initialize
|
||||
here, so that they are output to the redirected output stream.
|
||||
Added version number to "starting" line.
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#import <Mailer/SOGoMailObject.h>
|
||||
#import <SOGo/NSObject+Utilities.h>
|
||||
#import <SOGo/SOGoUser.h>
|
||||
#import <SOGo/SOGoUserSettings.h>
|
||||
#import <SOGo/SOGoUserDefaults.h>
|
||||
|
||||
#import <UI/Common/WODirectAction+SOGo.h>
|
||||
|
||||
|
@ -68,8 +68,11 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
path = [NSString stringWithFormat: @"%@%@",
|
||||
[co absoluteImap4Name], folderName];
|
||||
if ([co respondsToSelector: @selector (absoluteImap4Name)])
|
||||
path = [NSString stringWithFormat: @"%@%@",
|
||||
[co absoluteImap4Name], folderName];
|
||||
else
|
||||
path = folderName;
|
||||
[[connection client] subscribe: path];
|
||||
|
||||
response = [self responseWith204];
|
||||
|
@ -133,7 +136,8 @@
|
|||
else
|
||||
{
|
||||
// We unsubscribe to the old one, and subscribe back to the new one
|
||||
if ([[[context activeUser] userDefaults] mailShowSubscribedFoldersOnly])
|
||||
if ([[[context activeUser] userDefaults]
|
||||
mailShowSubscribedFoldersOnly])
|
||||
{
|
||||
[[connection client] subscribe: [destURL path]];
|
||||
[[connection client] unsubscribe: [srcURL path]];
|
||||
|
|
Loading…
Reference in New Issue