aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog18
-rw-r--r--mail/em-account-editor.c30
-rw-r--r--plugins/exchange-account-setup/ChangeLog19
3 files changed, 53 insertions, 14 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b66b25902f..4cc540e531 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -16,6 +16,24 @@
2005-01-28 Not Zed <NotZed@Ximian.com>
+ * em-account-editor.c (emae_service_provider_changed): handle
+ 'hide' bits, don't get/set values from the widgets at all.
+
+ * em-account-editor.c: put some tables back into the
+ druid and editor, since econfig supports tables now.
+
+ * em-account-editor.c (emae_service_provider_changed): handle
+ 'hide' bits, don't get/set values from the widgets at all.
+
+ * em-account-editor.c: put some tables back into the
+ druid and editor, since econfig supports tables now.
+
+ * em-account-editor.c (emae_service_provider_changed): handle
+ 'hide' bits, don't get/set values from the widgets at all.
+
+ * em-account-editor.c: put some tables back into the
+ druid and editor, since econfig supports tables now.
+
** See bug #71520.
* em-account-prefs.c (account_edit_clicked): repeat the nasty hack
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 75cf6499c6..86d65f5ade 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -1129,10 +1129,12 @@ emae_service_provider_changed(EMAccountEditorService *service)
for (i=0;emae_service_info[service->type].host_info[i].flag;i++) {
const char *name;
GtkWidget *w;
+ int hide;
struct _provider_host_info *info = &emae_service_info[service->type].host_info[i];
enable = CAMEL_PROVIDER_ALLOWS(service->provider, info->flag);
- show = enable?gtk_widget_show:gtk_widget_hide;
+ hide = CAMEL_PROVIDER_HIDDEN(service->provider, info->flag);
+ show = (enable && !hide)?gtk_widget_show:gtk_widget_hide;
for (j=0; j < sizeof(info->widgets)/sizeof(info->widgets[0]); j++) {
name = info->widgets[j];
@@ -1143,7 +1145,7 @@ emae_service_provider_changed(EMAccountEditorService *service)
if (dwidget == NULL && enable)
dwidget = w;
- if (info->setval)
+ if (info->setval && !hide)
info->setval(url, enable?gtk_entry_get_text((GtkEntry *)w):NULL);
}
}
@@ -1368,7 +1370,7 @@ emae_needs_auth(GtkToggleButton *toggle, EMAccountEditorService *service)
static void emae_check_authtype(GtkWidget *w, EMAccountEditorService *service);
static GtkWidget *
-emae_setup_authtype(EMAccountEditor *emae, EMAccountEditorService *service)
+emae_setup_authtype (EMAccountEditor *emae, EMAccountEditorService *service)
{
EMAccountEditorPrivate *gui = emae->priv;
EAccount *account = emae->account;
@@ -2071,12 +2073,12 @@ static EMConfigItem emae_editor_items[] = {
{ E_CONFIG_BOOK, "", "account_editor_notebook", emae_widget_glade },
{ E_CONFIG_PAGE, "00.identity", "vboxIdentityBorder", emae_identity_page },
{ E_CONFIG_SECTION, "00.identity/00.name", "account_vbox", emae_widget_glade },
- /* table not vbox: { E_CONFIG_SECTION, "00.identity/10.required", "identity_required_table", emae_widget_glade }, */
- /* table not vbox: { E_CONFIG_SECTION, "00.identity/20.info", "identity_optional_table", emae_widget_glade }, */
+ { E_CONFIG_SECTION_TABLE, "00.identity/10.required", "identity_required_table", emae_widget_glade },
+ { E_CONFIG_SECTION_TABLE, "00.identity/20.info", "identity_optional_table", emae_widget_glade },
{ E_CONFIG_PAGE, "10.receive", "vboxSourceBorder", emae_receive_page },
- /* table not vbox: { E_CONFIG_SECTION, "10.receive/00.type", "source_type_table", emcp_widget_glade }, */
- /* table not vbox: { E_CONFIG_SECTION, "10.receive/10.config", "table13", emcp_widget_glade }, */
+ { E_CONFIG_SECTION_TABLE, "10.receive/00.type", "source_type_table", emae_widget_glade },
+ { E_CONFIG_SECTION_TABLE, "10.receive/10.config", "table4", emae_widget_glade },
{ E_CONFIG_SECTION, "10.receive/20.security", "vbox181", emae_widget_glade },
{ E_CONFIG_SECTION, "10.receive/30.auth", "vbox179", emae_widget_glade },
@@ -2086,14 +2088,14 @@ static EMConfigItem emae_editor_items[] = {
{ E_CONFIG_ITEM_TABLE, "20.receive_options/10.mailcheck/00.autocheck", NULL, emae_receive_options_item, },
{ E_CONFIG_PAGE, "30.send", "vboxTransportBorder", emae_send_page },
- /* table not vbox: { E_CONFIG_SECTION, "30.send/00.type", "transport_type_table", emcp_widget_glade }, */
+ { E_CONFIG_SECTION_TABLE, "30.send/00.type", "transport_type_table", emae_widget_glade },
{ E_CONFIG_SECTION, "30.send/10.config", "vbox12", emae_widget_glade },
{ E_CONFIG_SECTION, "30.send/20.security", "vbox183", emae_widget_glade },
{ E_CONFIG_SECTION, "30.send/30.auth", "vbox61", emae_widget_glade },
{ E_CONFIG_PAGE, "40.defaults", "vboxFoldersBorder", emae_defaults_page },
{ E_CONFIG_SECTION, "40.defaults/00.folders", "vbox184", emae_widget_glade },
- /* table not vbox: { E_CONFIG_SECTION, "40.defaults/10.composing", "table8", emae_widget_glade }, */
+ { E_CONFIG_SECTION_TABLE, "40.defaults/10.composing", "table8", emae_widget_glade },
{ E_CONFIG_PAGE, "50.security", "vboxSecurityBorder", emae_security_page },
/* 1x1 table(!) not vbox: { E_CONFIG_SECTION, "50.security/00.gpg", "table19", emae_widget_glade }, */
@@ -2149,12 +2151,12 @@ static EMConfigItem emae_druid_items[] = {
{ E_CONFIG_PAGE, "00.identity", "vboxIdentityBorder", emae_identity_page },
{ E_CONFIG_SECTION, "00.identity/00.name", "account_vbox", emae_widget_glade },
- /* table not vbox: { E_CONFIG_SECTION, "00.identity/10.required", "identity_required_table", emae_widget_glade }, */
- /* table not vbox: { E_CONFIG_SECTION, "00.identity/20.info", "identity_optional_table", emae_widget_glade }, */
+ { E_CONFIG_SECTION_TABLE, "00.identity/10.required", "identity_required_table", emae_widget_glade },
+ { E_CONFIG_SECTION_TABLE, "00.identity/20.info", "identity_optional_table", emae_widget_glade },
{ E_CONFIG_PAGE, "10.receive", "vboxSourceBorder", emae_receive_page },
- /* table not vbox: { E_CONFIG_SECTION, "10.receive/00.type", "source_type_table", emcp_widget_glade }, */
- /* table not vbox: { E_CONFIG_SECTION, "10.receive/10.config", "table13", emcp_widget_glade }, */
+ { E_CONFIG_SECTION_TABLE, "10.receive/00.type", "source_type_table", emae_widget_glade },
+ { E_CONFIG_SECTION_TABLE, "10.receive/10.config", "table4", emae_widget_glade },
{ E_CONFIG_SECTION, "10.receive/20.security", "vbox181", emae_widget_glade },
{ E_CONFIG_SECTION, "10.receive/30.auth", "vbox179", emae_widget_glade },
@@ -2164,7 +2166,7 @@ static EMConfigItem emae_druid_items[] = {
{ E_CONFIG_ITEM_TABLE, "20.receive_options/10.mailcheck/00.autocheck", NULL, emae_receive_options_item, },
{ E_CONFIG_PAGE, "30.send", "vboxTransportBorder", emae_send_page },
- /* table not vbox: { E_CONFIG_SECTION, "30.send/00.type", "transport_type_table", emcp_widget_glade }, */
+ { E_CONFIG_SECTION_TABLE, "30.send/00.type", "transport_type_table", emae_widget_glade },
{ E_CONFIG_SECTION, "30.send/10.config", "vbox12", emae_widget_glade },
{ E_CONFIG_SECTION, "30.send/20.security", "vbox183", emae_widget_glade },
{ E_CONFIG_SECTION, "30.send/30.auth", "vbox61", emae_widget_glade },
diff --git a/plugins/exchange-account-setup/ChangeLog b/plugins/exchange-account-setup/ChangeLog
index 7d31a1acda..8ea9c9ac26 100644
--- a/plugins/exchange-account-setup/ChangeLog
+++ b/plugins/exchange-account-setup/ChangeLog
@@ -1,3 +1,22 @@
+2005-01-28 Not Zed <NotZed@Ximian.com>
+
+ ** related to bug #71520.
+
+ * exchange-account-setup.c: All but re-written.
+ Fixed the license of the file.
+ Fixed a translation string.
+ Modified return condition check.
+ Fixed problem over writing current account with the old data.
+ Removed duplicated code.
+ Removed the hack for handling NULL hostname, now using
+ CAMEL_URL_HIDDEN_HOST url flag in the provider.
+ Using E_ACCOUNT_SOURCE_SAVE_PASSWD for remember password.
+ Removed the way owa url entry was added to table in config section,
+ Now econfig supports tables.
+
+ * exchange-ask-password.c: removed, functionality moved to
+ exchange-account-setup.c.
+
2005-01-25 Sushma Rai <rsushma@novell.com>
* exchange-account-setup.c (create_page): Fixed empty