aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-04-26 18:36:12 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-04-26 18:36:12 +0800
commitc07e50ba36fa093bb7af63934d044ff0378fbba8 (patch)
treecbb055052a2b8c4e17f694a5a0a70c116c6bd2b0
parentf187345034c97223eaf23903972e7a9f1b86b5f0 (diff)
downloadgsoc2013-evolution-c07e50ba36fa093bb7af63934d044ff0378fbba8.tar.gz
gsoc2013-evolution-c07e50ba36fa093bb7af63934d044ff0378fbba8.tar.zst
gsoc2013-evolution-c07e50ba36fa093bb7af63934d044ff0378fbba8.zip
Comparing the FolderInfo flags right, to make Mailbox to show From header in message list for groupwise servers.
svn path=/trunk/; revision=31904
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/em-folder-view.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 9d41366902..9a5f3bcad0 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,11 @@
2006-04-26 Srinivasa Ragavan <sragavan@novell.com>
+ * em-folder-view.c: (emfv_setup_view_instance): Comparing the
+ FolderInfo flags right, to make Mailbox to show From header in message
+ list for groupwise servers.
+
+2006-04-26 Srinivasa Ragavan <sragavan@novell.com>
+
** Fixes bug #323402
* em-folder-tree.c: (folder_tree_new): Code for Ellipsizing folder
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 823d4d275d..54f903c217 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -564,7 +564,7 @@ emfv_setup_view_instance(EMFolderView *emfv)
emfv->folder->full_name,
CAMEL_STORE_FOLDER_INFO_SUBSCRIBED,
NULL);
- if (outgoing || (fi && (fi->flags & CAMEL_FOLDER_TYPE_SENT)))
+ if (outgoing || (fi && ((fi->flags & CAMEL_FOLDER_TYPE_MASK) == CAMEL_FOLDER_TYPE_SENT)))
gal_view_instance_set_default_view(p->view_instance, "As_Sent_Folder");
gal_view_instance_load(p->view_instance);