Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pchenthill
evolution-data-server
fix-bnc-228219-unread-count-eds.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-bnc-228219-unread-count-eds.diff of Package evolution-data-server
Index: camel/providers/groupwise/camel-groupwise-folder.c =================================================================== RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-folder.c,v retrieving revision 1.145 diff -u -p -r1.145 camel-groupwise-folder.c --- camel/providers/groupwise/camel-groupwise-folder.c 16 Nov 2006 12:32:39 -0000 1.145 +++ camel/providers/groupwise/camel-groupwise-folder.c 8 Dec 2006 07:46:26 -0000 @@ -583,6 +583,7 @@ static void groupwise_sync_summary (CamelFolder *folder, CamelException *ex) { camel_folder_summary_save (folder->summary); + camel_store_summary_touch ((CamelStoreSummary *)((CamelGroupwiseStore *)folder->parent_store)->summary); camel_store_summary_save ((CamelStoreSummary *)((CamelGroupwiseStore *)folder->parent_store)->summary); } @@ -727,8 +728,15 @@ groupwise_sync (CamelFolder *folder, gbo CAMEL_GROUPWISE_FOLDER_UNLOCK (folder, cache_lock); + /* This should be in a function, really */ if (deleted_items) { CAMEL_SERVICE_LOCK (gw_store, connect_lock); + + if (deleted_read_items) { + status = e_gw_connection_mark_read (cnc, deleted_read_items); + g_list_free (deleted_read_items); + deleted_read_items = NULL; + } if (!strcmp (folder->full_name, "Trash")) { status = e_gw_connection_purge_selected_items (cnc, deleted_items); } else {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor