aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2005-09-21 14:41:27 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2005-09-21 14:41:27 +0800
commit3942022533c577e69831b8c9f992498dc6b3a401 (patch)
tree86de7902a6cf3da20910ef77ac9d5719b2328f11 /mail
parent4545f5d072cd76f59eeb7011b348d61ac8e14f6a (diff)
downloadgsoc2013-evolution-3942022533c577e69831b8c9f992498dc6b3a401.tar.gz
gsoc2013-evolution-3942022533c577e69831b8c9f992498dc6b3a401.tar.zst
gsoc2013-evolution-3942022533c577e69831b8c9f992498dc6b3a401.zip
Added code to enable the sent folder button for accounts with "None" set
2005-09-21 Sankar P <psankar@novell.com> * em-account-editor.c (emae_defaults_page): Added code to enable the sent folder button for accounts with "None" set as the Receiving Server type. Fixes #315506 svn path=/trunk/; revision=30367
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-account-editor.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index f4204c96fa..bc8f69138c 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2005-09-21 Sankar P <psankar@novell.com>
+
+ * em-account-editor.c (emae_defaults_page):
+ Added code to enable the sent folder button for accounts with
+ "None" set as the Receiving Server type.
+ Fixes #315506
+
2005-09-15 Sankar P <psankar@novell.com>
* em-folder-tree-model.c (em_folder_tree_model_set_folder_info):
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 4f0e8fe7d6..04ae1d2502 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -2147,8 +2147,11 @@ emae_defaults_page(EConfig *ec, EConfigItem *item, struct _GtkWidget *parent, st
gtk_widget_set_sensitive((GtkWidget *)gui->drafts_folder_button, e_account_writable(emae->account, E_ACCOUNT_DRAFTS_FOLDER_URI));
- gtk_widget_set_sensitive((GtkWidget *)gui->sent_folder_button, e_account_writable(emae->account, E_ACCOUNT_SENT_FOLDER_URI)
- && ( emae->priv->source.provider && !(emae->priv->source.provider->flags & CAMEL_PROVIDER_DISABLE_SENT_FOLDER)));
+ gtk_widget_set_sensitive( (GtkWidget *)gui->sent_folder_button,
+ e_account_writable(emae->account, E_ACCOUNT_SENT_FOLDER_URI)
+ &&
+ (emae->priv->source.provider ? !(emae->priv->source.provider->flags & CAMEL_PROVIDER_DISABLE_SENT_FOLDER): TRUE)
+ );
gtk_widget_set_sensitive((GtkWidget *)gui->restore_folders_button,
(e_account_writable(emae->account, E_ACCOUNT_SENT_FOLDER_URI)