aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.c
diff options
context:
space:
mode:
authorParthasarathi Susarla <sparthasarathi@novell.com>2005-10-22 16:18:50 +0800
committerParthasarathi Susarla <saps@src.gnome.org>2005-10-22 16:18:50 +0800
commit05601e86ebfc36093c8b2afb66cbe14cb45d6bd2 (patch)
tree75999f72fb1056b2501c12bab13b46556f0bdf30 /mail/em-folder-tree.c
parenta0ce7e9771be25292bf985a96db5603b34a68d9e (diff)
downloadgsoc2013-evolution-05601e86ebfc36093c8b2afb66cbe14cb45d6bd2.tar.gz
gsoc2013-evolution-05601e86ebfc36093c8b2afb66cbe14cb45d6bd2.tar.zst
gsoc2013-evolution-05601e86ebfc36093c8b2afb66cbe14cb45d6bd2.zip
Return valid transport, only if the account is enabled.
2005-10-22 Parthasarathi Susarla <sparthasarathi@novell.com> * mail-config.c: (mail_config_get_default_account): Return valid transport, only if the account is enabled. 2005-10-22 Parthasarathi Susarla <sparthasarathi@novell.com> * em-composer-utils.c: (create_new_composer): If the account corresponding to the fromuri is not enabled. Then load the preferred account from the composer. ---------------------------------------------------------------------- svn path=/trunk/; revision=30555
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r--mail/em-folder-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 0fdd1a65bf..c709165c02 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -1725,7 +1725,7 @@ emft_get_folder_info__got (struct _mail_msg *mm)
gtk_tree_model_get_iter ((GtkTreeModel *) model, &root, path);
/* if we had an error, then we need to re-set the load subdirs state and collapse the node */
- if (camel_exception_is_set(&mm->ex)) {
+ if (!m->fi && camel_exception_is_set(&mm->ex)) {
gtk_tree_store_set(model, &root, COL_BOOL_LOAD_SUBDIRS, TRUE, -1);
gtk_tree_view_collapse_row (priv->treeview, path);
gtk_tree_path_free (path);