diff --git a/ChangeLog b/ChangeLog index 58d97ec1c..3cb834313 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-08-08 Wolfgang Sourdeau + * 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. diff --git a/UI/MailerUI/UIxMailFolderActions.m b/UI/MailerUI/UIxMailFolderActions.m index 52b9d3563..b0338a369 100644 --- a/UI/MailerUI/UIxMailFolderActions.m +++ b/UI/MailerUI/UIxMailFolderActions.m @@ -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;