[evolution/gnome-3-4] Revert the previous commit, it was a mistake



commit a58e7e78feb1b621a6e98b4dab9d5e376589f15e
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jun 11 18:23:15 2012 +0200

    Revert the previous commit, it was a mistake

 mail/em-account-editor.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 8d796f4..4d5d829 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -2333,10 +2333,8 @@ emae_setup_settings (EMAccountEditorService *service)
 			G_BINDING_SYNC_CREATE);
 
 		/* restore previously saved port, if set */
-		if (port > 0 && emae_get_store_visible_port (service->emae))
+		if (port > 0)
 			camel_network_settings_set_port (network_settings, port);
-		else
-			camel_network_settings_set_port (network_settings, 0);
 	}
 
 	if (CAMEL_IS_LOCAL_SETTINGS (settings)) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]