From 7c2eb5394bb02cd93f15659b182aa46f098013d1 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 24 Aug 2010 13:27:02 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: 2b96d00aec89e2290a01e1ee04bdc8cee5487139 Monotone-Revision: 478756ffec5abdd24d602d86bbb8fdf091d543bd Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-08-24T13:27:02 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 6 ++++ SoObjects/Mailer/SOGoMailAccount.h | 2 +- SoObjects/Mailer/SOGoMailAccount.m | 3 +- UI/Templates/PreferencesUI/UIxPreferences.wox | 28 ++++++------------- 4 files changed, 17 insertions(+), 22 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2dae2cdd9..f5dc97f06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-08-24 Ludovic Marcotte + + * UI/Templates/PreferencesUI/UIxPreferences.wox + Enabled the UI widgets related to SSL/TLS. + SOPE *must* be updated for them to work properly. + 2010-08-23 Wolfgang Sourdeau * UI/WebServerResources/UIxMailEditor.js: (clickEditorSend): make diff --git a/SoObjects/Mailer/SOGoMailAccount.h b/SoObjects/Mailer/SOGoMailAccount.h index ea90d7195..472e0e037 100644 --- a/SoObjects/Mailer/SOGoMailAccount.h +++ b/SoObjects/Mailer/SOGoMailAccount.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2009 Inverse inc. + Copyright (C) 2009-2010 Inverse inc. Copyright (C) 2004-2005 SKYRIX Software AG This file is part of SOGo. diff --git a/SoObjects/Mailer/SOGoMailAccount.m b/SoObjects/Mailer/SOGoMailAccount.m index 5a38ed1fc..92720b104 100644 --- a/SoObjects/Mailer/SOGoMailAccount.m +++ b/SoObjects/Mailer/SOGoMailAccount.m @@ -521,6 +521,7 @@ static NSString *sieveScriptName = @"sogo"; mailAccount = [self _mailAccount]; encryption = [mailAccount objectForKey: @"encryption"]; + if ([encryption isEqualToString: @"ssl"]) { protocol = @"imaps"; @@ -543,7 +544,7 @@ static NSString *sieveScriptName = @"sogo"; if (port && port != defaultPort) [imap4URLString appendFormat: @":%d", port]; [imap4URLString appendString: @"/"]; - + return imap4URLString; } diff --git a/UI/Templates/PreferencesUI/UIxPreferences.wox b/UI/Templates/PreferencesUI/UIxPreferences.wox index 22795b75e..c1fa54c47 100644 --- a/UI/Templates/PreferencesUI/UIxPreferences.wox +++ b/UI/Templates/PreferencesUI/UIxPreferences.wox @@ -134,18 +134,6 @@ - - - - - - - - - - - - @@ -244,14 +232,14 @@ - - - - - - - - +
+ + + +