Monotone-Parent: 9532f8c1461cc8a7c94898afe1a065fc1c66f2cd

Monotone-Revision: 85c10bef83b01a3ff9635d8bbe0d9971df2d6685

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-05-22T15:58:01
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-05-22 15:58:01 +00:00
parent 60a704190c
commit d4831b4371
3 changed files with 11 additions and 1 deletions
+3 -1
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)