diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 2000-02-11 11:00:19 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-02-11 11:00:19 +0800 |
commit | e1e8a9f261f1a7287119e3ece0a3a5c82941ec38 (patch) | |
tree | b63e35194b81360e9ad168b1b640f5e5e2a90a4d | |
parent | e59a188db0ae7785eb774120ed0f04d80b1e1504 (diff) | |
download | gsoc2013-evolution-e1e8a9f261f1a7287119e3ece0a3a5c82941ec38.tar gsoc2013-evolution-e1e8a9f261f1a7287119e3ece0a3a5c82941ec38.tar.gz gsoc2013-evolution-e1e8a9f261f1a7287119e3ece0a3a5c82941ec38.tar.bz2 gsoc2013-evolution-e1e8a9f261f1a7287119e3ece0a3a5c82941ec38.tar.lz gsoc2013-evolution-e1e8a9f261f1a7287119e3ece0a3a5c82941ec38.tar.xz gsoc2013-evolution-e1e8a9f261f1a7287119e3ece0a3a5c82941ec38.tar.zst gsoc2013-evolution-e1e8a9f261f1a7287119e3ece0a3a5c82941ec38.zip |
default the text/* mime types to CamelSimpleDataWrapper so that Michael
2000-02-10 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/data-wrapper-repository.c (data_wrapper_repository_init):
default the text/* mime types to CamelSimpleDataWrapper so
that Michael can use get_stream.
svn path=/trunk/; revision=1727
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | camel/data-wrapper-repository.c | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2000-02-10 bertrand <Bertrand.Guiheneuf@aful.org> + + * camel/data-wrapper-repository.c (data_wrapper_repository_init): + default the text/* mime types to CamelSimpleDataWrapper so + that Michael can use get_stream. + 2000-02-10 NotZed <notzed@zedzone.helixcode.com> * camel/camel-simple-data-wrapper-stream.h: The superclass is diff --git a/camel/data-wrapper-repository.c b/camel/data-wrapper-repository.c index 2bc6a28abc..f668e67c7a 100644 --- a/camel/data-wrapper-repository.c +++ b/camel/data-wrapper-repository.c @@ -50,6 +50,9 @@ data_wrapper_repository_init () if (_initialized != -1) return -1; _repository.mime_links = g_hash_table_new (g_strcase_hash, g_strcase_equal); data_wrapper_repository_set_data_wrapper_type ("multipart", camel_multipart_get_type()); + + /* this is a temporary default so that Michael can use get_stream on text messages */ + data_wrapper_repository_set_data_wrapper_type ("text", camel_simple_data_wrapper_get_type()); _content_field = gmime_content_field_new (NULL, NULL); _initialized = 1; return 1; |