mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
Monotone-Parent: 022519830de83b3b349d002bfd9d9b711c7d9909
Monotone-Revision: 0b420e8656035beafc355f675622d682f09c04b0 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-08-08T16:20:42 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2007-08-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/MailerUI/UIxMailFolderActions.m ([UIxMailFolderActions
|
||||
-deleteFolderAction]): fixed the url of the destination folder.
|
||||
|
||||
* Main/SOGo.m ([SOGo +initialize]): show the build date and
|
||||
hostname at startup.
|
||||
|
||||
|
||||
@@ -131,16 +131,15 @@
|
||||
withCO: (SOGoMailFolder *) co
|
||||
{
|
||||
NSURL *destURL;
|
||||
NSString *trashFolderName, *folderName;
|
||||
NSString *trashFolderName, *folderName, *path;
|
||||
|
||||
folderName = [[srcURL path] lastPathComponent];
|
||||
trashFolderName
|
||||
= [[co mailAccountFolder] trashFolderNameInContext: context];
|
||||
|
||||
path = [NSString stringWithFormat: @"/%@/%@",
|
||||
[trashFolderName substringFromIndex: 6], folderName];
|
||||
destURL = [[NSURL alloc] initWithScheme: [srcURL scheme]
|
||||
host: [srcURL host]
|
||||
path: [NSString stringWithFormat: @"/%@/%@",
|
||||
trashFolderName, folderName]];
|
||||
host: [srcURL host] path: path];
|
||||
[destURL autorelease];
|
||||
|
||||
return destURL;
|
||||
|
||||
Reference in New Issue
Block a user