aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog12
-rw-r--r--camel/providers/pop3/camel-pop3-store.c19
2 files changed, 31 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index dda57d86ad..eb82e302af 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,15 @@
+2001-03-07 Jeffrey Stedfast <fejj@ximian.com>
+
+ * providers/pop3/camel-pop3-store.c (init_trash): Implement.
+ (get_trash): Implement.
+ (camel_pop3_store_class_init): Override the default init_trash and
+ get_trash virtual functions. Hopefully this should fix the problem
+ of pop3 sotre's not disconnecting after the send&recv code
+ finishes downloading mail.
+
+ Wonder if I should override the default implementation for the
+ mbox, mh, and maildir too?
+
2001-03-07 Dan Winship <danw@ximian.com>
* camel-remote-store.c (camel_remote_store_connected): Return the
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c
index fac9cae931..5fa80b1d87 100644
--- a/camel/providers/pop3/camel-pop3-store.c
+++ b/camel/providers/pop3/camel-pop3-store.c
@@ -77,6 +77,9 @@ static GList *query_auth_types (CamelService *service, gboolean connect, CamelEx
static CamelFolder *get_folder (CamelStore *store, const char *folder_name,
guint32 flags, CamelException *ex);
+static void init_trash (CamelStore *store);
+static CamelFolder *get_trash (CamelStore *store, CamelException *ex);
+
static int pop3_get_response (CamelPop3Store *store, char **ret, CamelException *ex);
@@ -97,6 +100,8 @@ camel_pop3_store_class_init (CamelPop3StoreClass *camel_pop3_store_class)
camel_service_class->disconnect = pop3_disconnect;
camel_store_class->get_folder = get_folder;
+ camel_store_class->init_trash = init_trash;
+ camel_store_class->get_trash = get_trash;
}
@@ -533,6 +538,20 @@ get_folder (CamelStore *store, const char *folder_name,
return camel_pop3_folder_new (store, ex);
}
+static void
+init_trash (CamelStore *store)
+{
+ /* no-op */
+ ;
+}
+
+static CamelFolder *
+get_trash (CamelStore *store, CamelException *ex)
+{
+ /* no-op */
+ return NULL;
+}
+
/**
* camel_pop3_command: Send a command to a POP3 server.