Monotone-Parent: 9532f8c1461cc8a7c94898afe1a065fc1c66f2cd

Monotone-Revision: 85c10bef83b01a3ff9635d8bbe0d9971df2d6685

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-05-22T15:58:01
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2008-05-22 15:58:01 +00:00
parent 60a704190c
commit d4831b4371
3 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2008-05-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/MailerUI/UIxMailFolderActions.m ([UIxMailFolderActions
-renameFolderAction]): select the INBOX folder before renaming the
target folder.
* UI/MainUI/SOGoRootPage.m ([SOGoRootPage -loginSuffix]): new
method that returns the login suffix configured in the user
defaults.

4
NEWS
View File

@ -1,3 +1,7 @@
0.9.0-2008XXXX (1.0)
--------------------
- work around the situation where Courier IMAP would refuse to rename the current mailbox or move it into the trash
0.9.0-20080520 (1.0 rc6)
------------------------
- retrieving the freebusy DAV object was causing SOGo to crash

View File

@ -98,7 +98,7 @@
- (WOResponse *) renameFolderAction
{
SOGoMailFolder *co;
SOGoMailFolder *co, *inbox;
WOResponse *response;
NGImap4Connection *connection;
NSException *error;
@ -113,6 +113,8 @@
srcURL = [co imap4URL];
destURL = [self _urlOfFolder: srcURL renamedTo: folderName];
connection = [co imap4Connection];
inbox = [[co mailAccountFolder] inboxFolderInContext: context];
[[connection client] select: [inbox absoluteImap4Name]];
error = [connection moveMailboxAtURL: srcURL
toURL: destURL];
if (error)