Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jberkman
evolution-data-server-2.6
fix-bnc-215215-eds-proxy-perm.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-bnc-215215-eds-proxy-perm.diff of Package evolution-data-server-2.6
--- camel/camel-folder-summary.h.orig 2005-08-31 09:51:56.000000000 +0530 +++ camel/camel-folder-summary.h 2006-10-30 07:55:39.297004864 +0530 @@ -74,6 +74,8 @@ typedef enum _CamelMessageFlags { CAMEL_MESSAGE_ANSWERED_ALL = 1<<6, CAMEL_MESSAGE_JUNK = 1<<7, CAMEL_MESSAGE_SECURE = 1<<8, + CAMEL_MESSAGE_USER_NOT_DELETABLE = 1<<9, + CAMEL_MESSAGE_HIDDEN = 1<<10, /* following flags are for the folder, and are not really permanent flags */ CAMEL_MESSAGE_FOLDER_FLAGGED = 1<<16, /* for use by the folder implementation */ --- camel/providers/groupwise/camel-groupwise-folder.c.orig 2006-10-30 07:09:17.883843936 +0530 +++ camel/providers/groupwise/camel-groupwise-folder.c 2006-10-30 07:11:58.598411608 +0530 @@ -1164,6 +1164,8 @@ gw_update_cache (CamelFolder *folder, GL GList *item_list = list; int total_items = g_list_length (item_list), i=0; + gboolean is_proxy = folder->parent_store->flags & CAMEL_STORE_WRITE; + CAMEL_SERVICE_ASSERT_LOCKED (gw_store, connect_lock); changes = camel_folder_change_info_new (); @@ -1257,6 +1259,8 @@ gw_update_cache (CamelFolder *folder, GL if (e_gw_item_has_attachment (item)) mi->info.flags |= CAMEL_MESSAGE_ATTACHMENTS; + if (is_proxy) + mi->info.flags |= CAMEL_MESSAGE_USER_NOT_DELETABLE; org = e_gw_item_get_organizer (item); if (org) { @@ -1392,6 +1396,8 @@ gw_update_summary ( CamelFolder *folder, gboolean is_junk = FALSE; GList *item_list = list; + gboolean is_proxy = folder->parent_store->flags & CAMEL_STORE_WRITE; + /*Assert lock???*/ changes = camel_folder_change_info_new (); container_id = g_strdup (camel_groupwise_store_container_id_lookup (gw_store, folder->full_name)); @@ -1458,6 +1464,9 @@ gw_update_summary ( CamelFolder *folder, if (e_gw_item_has_attachment (item)) mi->info.flags |= CAMEL_MESSAGE_ATTACHMENTS; + if (is_proxy) + mi->info.flags |= CAMEL_MESSAGE_USER_NOT_DELETABLE; + org = e_gw_item_get_organizer (item); if (org) { GString *str;
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