diff options
| author | Parthasarathi Susarla <sparthasarathi@novell.com> | 2006-06-12 09:20:04 +0000 |
|---|---|---|
| committer | Parthasarathi Susarla <saps@src.gnome.org> | 2006-06-12 09:20:04 +0000 |
| commit | c80cccff4c9531b8ccf2b8f7e54ad815fbc70462 (patch) | |
| tree | 70fabb61d34b15b26eeaa1612407924a638b5dd7 /camel | |
| parent | 4984c15ec190c82f4f63712725bc5d8b189cea5e (diff) | |
| download | evolution-data-server-c80cccff4c9531b8ccf2b8f7e54ad815fbc70462.tar.gz | |
Fixes bug #166265 on bnc
2006-06-12 Parthasarathi Susarla <sparthasarathi@novell.com>
Fixes bug #166265 on bnc
* camel-groupwise-folder.c: call purgeRequest when
deleting on Trash folder
Diffstat (limited to 'camel')
| -rw-r--r-- | camel/providers/groupwise/ChangeLog | 7 | ||||
| -rw-r--r-- | camel/providers/groupwise/camel-groupwise-folder.c | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/camel/providers/groupwise/ChangeLog b/camel/providers/groupwise/ChangeLog index d7ed98449..010e59e02 100644 --- a/camel/providers/groupwise/ChangeLog +++ b/camel/providers/groupwise/ChangeLog @@ -1,3 +1,10 @@ +2006-06-12 Parthasarathi Susarla <sparthasarathi@novell.com> + + Fixes bug #166265 on bnc + + * camel-groupwise-folder.c: call purgeRequest when + deleting on Trash folder + 2006-06-09 Sankar P <psankar@novell.com> * camel-groupwise-folder.c: diff --git a/camel/providers/groupwise/camel-groupwise-folder.c b/camel/providers/groupwise/camel-groupwise-folder.c index 430fb7b26..0daa4ae16 100644 --- a/camel/providers/groupwise/camel-groupwise-folder.c +++ b/camel/providers/groupwise/camel-groupwise-folder.c @@ -682,7 +682,11 @@ groupwise_sync (CamelFolder *folder, gboolean expunge, CamelException *ex) CAMEL_GROUPWISE_FOLDER_UNLOCK (folder, cache_lock); if (deleted_items) { CAMEL_SERVICE_LOCK (gw_store, connect_lock); - status = e_gw_connection_remove_items (cnc, container_id, deleted_items); + if (!strcmp (folder->full_name, "Trash")) { + status = e_gw_connection_purge_selected_items (cnc, deleted_items); + } else { + status = e_gw_connection_remove_items (cnc, container_id, deleted_items); + } CAMEL_SERVICE_UNLOCK (gw_store, connect_lock); if (status == E_GW_CONNECTION_STATUS_OK) { char *uid; |
