summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-10-29 11:16:03 -0400
committerMatthew Barnes <mbarnes@redhat.com>2011-10-29 11:16:03 -0400
commit9c9c2fb4c5aba412c8e2e44afd7541b82c8a5695 (patch)
treee7f3487af285565c725460dd64dbdff809bebf6b
parentc487d002e89ab71327de97181daf4907041b91e8 (diff)
downloadevolution-data-server-9c9c2fb4c5aba412c8e2e44afd7541b82c8a5695.tar.gz
Add a comment explaining CamelStore's mode field.
I was about to get rid of this field thinking it was unused, but as usual it's a GroupWise-specific hack for non-writable proxy accounts. Add a comment to the header file for future reference.
-rw-r--r--camel/camel-store.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/camel/camel-store.h b/camel/camel-store.h
index 6ef17499a..76a93fc5d 100644
--- a/camel/camel-store.h
+++ b/camel/camel-store.h
@@ -128,6 +128,11 @@ struct _CamelStore {
struct _CamelDB *cdb_w;
CamelStoreFlags flags;
+
+ /* XXX The default "mode" (read/write) is changed only by
+ * evolution-groupwise for non-writable proxy accounts.
+ * The mode is only checked by the account combo box in
+ * Evolution's composer window. */
CamelStorePermissionFlags mode;
/* Future ABI expansion */