diff options
-rw-r--r-- | camel/providers/groupwise/ChangeLog | 6 | ||||
-rw-r--r-- | camel/providers/groupwise/camel-groupwise-store.c | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/camel/providers/groupwise/ChangeLog b/camel/providers/groupwise/ChangeLog index e842d4e6c..f85043b8e 100644 --- a/camel/providers/groupwise/ChangeLog +++ b/camel/providers/groupwise/ChangeLog @@ -1,3 +1,9 @@ +2006-04-22 Sankar P <psankar@novell.com> + + * camel-groupwise-store.c: (convert_to_folder_info): + No need to get the unread count for Sent Items folder. + All will be read by default. + 2006-04-20 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug 167640 on bnc diff --git a/camel/providers/groupwise/camel-groupwise-store.c b/camel/providers/groupwise/camel-groupwise-store.c index a9035f609..fc92df3a0 100644 --- a/camel/providers/groupwise/camel-groupwise-store.c +++ b/camel/providers/groupwise/camel-groupwise-store.c @@ -882,10 +882,12 @@ convert_to_folder_info (CamelGroupwiseStore *store, EGwContainer *container, con fi->total = -1; fi->unread = -1; } else if (type == E_GW_CONTAINER_TYPE_TRASH) {*/ - if (type == E_GW_CONTAINER_TYPE_TRASH) { + + if (type == E_GW_CONTAINER_TYPE_TRASH || type == E_GW_CONTAINER_TYPE_SENT) { fi->total = e_gw_container_get_total_count (container); - fi->unread = 0; - }else { + fi->unread = 0; + /* Done with a belief that user wont mark something as unread in Trash and Sent Items */ + } else { fi->total = e_gw_container_get_total_count (container); fi->unread = e_gw_container_get_unread_count (container); } |