2007-08-29 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Wed, 29 Aug 2007 17:02:14 +0000 (17:02 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Wed, 29 Aug 2007 17:02:14 +0000 (17:02 +0000)
* src/maemo/easysetup/modest-easysetup-wizard.c:
(check_first_supported_auth_method), (on_before_next),
(create_account):
* src/maemo/modest-account-settings-dialog.c: (check_data):
Some cleanup, to make the code clearer.

pmo-trunk-r3141

src/maemo/modest-account-settings-dialog.c

index 26fba30..9b1beb2 100644 (file)
@@ -1028,10 +1028,9 @@ check_data (ModestAccountSettingsDialog *self)
                        HILDON_NUMBER_EDITOR (self->entry_incoming_port));
        const gchar* username = gtk_entry_get_text (GTK_ENTRY (self->entry_user_username));
 
-       /*
        const ModestConnectionProtocol protocol_security_incoming = modest_serversecurity_combo_box_get_active_serversecurity (
                MODEST_SERVERSECURITY_COMBO_BOX (self->combo_incoming_security));
-       */
+
        /* If we use an encrypted protocol then there is no need to encrypt the password */
        /* I don't think this is a good assumption. It overrides the user's request. murrayc: */
        if (!modest_protocol_info_is_secure(protocol_security_incoming))