[evolution-patches] Mailer: Copy Folder Contents Locally by default
- From: Shreyas <sshreyas novell com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] Mailer: Copy Folder Contents Locally by default
- Date: Wed, 20 Jul 2005 12:11:54 +0530
Hey,
I am attaching a patch which makes the folders (imap,imap4 and
groupwise) to be copied locally by default. Presently the default
actions is to not do the same.
Cheers,
Shreyas
Index: imap/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/imap/ChangeLog,v
retrieving revision 1.14
diff -u -p -r1.14 ChangeLog
--- imap/ChangeLog 21 Mar 2005 18:56:49 -0000 1.14
+++ imap/ChangeLog 20 Jul 2005 06:17:05 -0000
@@ -1,3 +1,8 @@
+2005-07-20 Shreyas Srinivasan <sshreyas novell com>
+
+ * camel-imap-folder.c (camel_imap_folder_init): Copy folder
+ content locally by default
+
2005-03-18 Jeffrey Stedfast <fejj novell com>
* camel-imap-command.c (imap_read_untagged): Continue reading data
Index: imap/camel-imap-folder.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/imap/camel-imap-folder.c,v
retrieving revision 1.347
diff -u -p -r1.347 camel-imap-folder.c
--- imap/camel-imap-folder.c 14 Mar 2005 19:13:34 -0000 1.347
+++ imap/camel-imap-folder.c 20 Jul 2005 06:18:19 -0000
@@ -174,7 +174,11 @@ static void
camel_imap_folder_init (gpointer object, gpointer klass)
{
CamelImapFolder *imap_folder = CAMEL_IMAP_FOLDER (object);
+ CamelDiscoFolder *offline_folder = CAMEL_DISCO_FOLDER (object);
CamelFolder *folder = CAMEL_FOLDER (object);
+
+ /*Copy Folder content locally by default*/
+ offline_folder->offline_sync = 1;
folder->permanent_flags = CAMEL_MESSAGE_ANSWERED | CAMEL_MESSAGE_DELETED |
CAMEL_MESSAGE_DRAFT | CAMEL_MESSAGE_FLAGGED | CAMEL_MESSAGE_SEEN;
Index: imap4/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/imap4/ChangeLog,v
retrieving revision 1.17
diff -u -p -r1.17 ChangeLog
--- imap4/ChangeLog 23 May 2005 17:18:35 -0000 1.17
+++ imap4/ChangeLog 20 Jul 2005 06:19:35 -0000
@@ -1,3 +1,8 @@
+2005-07-20 Shreyas Srinivasan <sshreyas novell com>
+
+ * camel-imap4-folder.c (camel_imap4_folder_init): Copy folder
+ content locally by default
+
2005-05-23 Jeffrey Stedfast <fejj novell com>
* camel-imap4-folder.c (imap4_append_message): The UIDPLUS
Index: imap4/camel-imap4-folder.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/imap4/camel-imap4-folder.c,v
retrieving revision 1.45
diff -u -p -w -r1.45 camel-imap4-folder.c
--- imap4/camel-imap4-folder.c 23 May 2005 17:18:35 -0000 1.45
+++ imap4/camel-imap4-folder.c 20 Jul 2005 06:22:41 -0000
@@ -138,8 +138,11 @@ camel_imap4_folder_class_init (CamelIMAP
static void
camel_imap4_folder_init (CamelIMAP4Folder *folder, CamelIMAP4FolderClass *klass)
{
+ CamelOfflineFolder *offline_folder = CAMEL_OFFLINE_FOLDER (folder);
((CamelFolder *) folder)->folder_flags |= CAMEL_FOLDER_HAS_SUMMARY_CAPABILITY | CAMEL_FOLDER_HAS_SEARCH_CAPABILITY;
+ /*Copy Folder content locally by default*/
+ offline_folder->sync_offline = 1;
folder->utf7_name = NULL;
folder->cachedir = NULL;
folder->journal = NULL;
Index: groupwise/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/ChangeLog,v
retrieving revision 1.67
diff -u -p -w -r1.67 ChangeLog
--- groupwise/ChangeLog 20 Jul 2005 05:38:15 -0000 1.67
+++ groupwise/ChangeLog 20 Jul 2005 06:23:15 -0000
@@ -1,3 +1,8 @@
+2005-07-20 Shreyas Srinivasan <sshreyas novell com>
+
+ * camel-groupwise-folder.c (camel_groupwise_folder_init): Copy folder
+ content locally by default
+
2005-07-20 Parthasarathi Susarla <sparthasarathi novell com>
* camel-groupwise-folder.c:
Index: groupwise/camel-groupwise-folder.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-folder.c,v
retrieving revision 1.58
diff -u -p -w -r1.58 camel-groupwise-folder.c
--- groupwise/camel-groupwise-folder.c 10 Jul 2005 10:15:28 -0000 1.58
+++ groupwise/camel-groupwise-folder.c 20 Jul 2005 06:24:17 -0000
@@ -1556,8 +1556,11 @@ static void
camel_groupwise_folder_init (gpointer object, gpointer klass)
{
CamelGroupwiseFolder *gw_folder = CAMEL_GROUPWISE_FOLDER (object);
+ CamelOfflineFolder *offline_folder = CAMEL_OFFLINE_FOLDER (object);
CamelFolder *folder = CAMEL_FOLDER (object);
+ /*Copy folder content locally by default*/
+ offline_folder->sync_offline = 1;
folder->permanent_flags = CAMEL_MESSAGE_ANSWERED | CAMEL_MESSAGE_DELETED |
CAMEL_MESSAGE_DRAFT | CAMEL_MESSAGE_FLAGGED | CAMEL_MESSAGE_SEEN;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]