* src/maemo/modest-account-settings-dialog.c:
(create_page_incoming),
(modest_account_settings_dialog_set_account_name):
Added comments about the need for new API in ModestAccountMgr to handle the authentication
and secure-connection stuff that is stored in the options GSList* with hard-coded names.
I will do this if nobody else gets there first.
pmo-trunk-r1524
2007-04-06 Murray Cumming <murrayc@murrayc.com>
2007-04-06 Murray Cumming <murrayc@murrayc.com>
+ * src/maemo/modest-account-settings-dialog.c:
+ (create_page_incoming),
+ (modest_account_settings_dialog_set_account_name):
+ Added comments about the need for new API in ModestAccountMgr to handle the authentication
+ and secure-connection stuff that is stored in the options GSList* with hard-coded names.
+ I will do this if nobody else gets there first.
+
+2007-04-06 Murray Cumming <murrayc@murrayc.com>
+
* src/maemo/modest-account-settings-dialog.c: (save_configuration):
Saved much of the incoming and outgoing data too, though I cannot yet see how to
save the security stuff.
* src/maemo/modest-account-settings-dialog.c: (save_configuration):
Saved much of the incoming and outgoing data too, though I cannot yet see how to
save the security stuff.
/* This will be filled by update_incoming_server_security_choices(). */
if (!self->combo_incoming_security)
self->combo_incoming_security = GTK_WIDGET (easysetup_serversecurity_combo_box_new ());
/* This will be filled by update_incoming_server_security_choices(). */
if (!self->combo_incoming_security)
self->combo_incoming_security = GTK_WIDGET (easysetup_serversecurity_combo_box_new ());
- easysetup_serversecurity_combo_box_set_active_serversecurity (
- EASYSETUP_SERVERSECURITY_COMBO_BOX (self->combo_incoming_security), MODEST_PROTOCOL_SECURITY_NONE);
GtkWidget *caption = hildon_caption_new (sizegroup, _("mcen_li_emailsetup_secure_connection"),
self->combo_incoming_security, NULL, HILDON_CAPTION_OPTIONAL);
gtk_widget_show (self->combo_incoming_security);
GtkWidget *caption = hildon_caption_new (sizegroup, _("mcen_li_emailsetup_secure_connection"),
self->combo_incoming_security, NULL, HILDON_CAPTION_OPTIONAL);
gtk_widget_show (self->combo_incoming_security);
gtk_entry_set_text( GTK_ENTRY (dialog->entry_incomingserver),
incoming_account->hostname ? incoming_account->hostname : "");
gtk_entry_set_text( GTK_ENTRY (dialog->entry_incomingserver),
incoming_account->hostname ? incoming_account->hostname : "");
+ easysetup_serversecurity_combo_box_set_active_serversecurity (
+ EASYSETUP_SERVERSECURITY_COMBO_BOX (dialog->combo_incoming_security), incoming_account->proto);
update_incoming_server_title (dialog, incoming_account->proto);
update_incoming_server_security_choices (dialog, incoming_account->proto);
update_incoming_server_title (dialog, incoming_account->proto);
update_incoming_server_security_choices (dialog, incoming_account->proto);
gtk_entry_set_text( GTK_ENTRY (dialog->entry_outgoing_password),
outgoing_account->password ? outgoing_account->password : "");
gtk_entry_set_text( GTK_ENTRY (dialog->entry_outgoing_password),
outgoing_account->password ? outgoing_account->password : "");
- /* How do we get the auth setting from the server account struct?: */
+ /* TODO: How do we get the auth setting from the server account struct?: */
+ /* This seems to be in ->options, with hard-coded option names.
+ * This will need new API in ModestAccountMgr. */
easysetup_secureauth_combo_box_set_active_secureauth (
EASYSETUP_SECUREAUTH_COMBO_BOX (dialog->combo_outgoing_auth), MODEST_PROTOCOL_AUTH_NONE);
on_combo_outgoing_auth_changed (GTK_COMBO_BOX (dialog->combo_outgoing_auth), dialog);
easysetup_secureauth_combo_box_set_active_secureauth (
EASYSETUP_SECUREAUTH_COMBO_BOX (dialog->combo_outgoing_auth), MODEST_PROTOCOL_AUTH_NONE);
on_combo_outgoing_auth_changed (GTK_COMBO_BOX (dialog->combo_outgoing_auth), dialog);