** see bug #312184
authorParthasarathi Susarla <sparthasarathi@novell.com>
Fri, 19 Aug 2005 07:20:20 +0000 (07:20 +0000)
committerParthasarathi Susarla <saps@src.gnome.org>
Fri, 19 Aug 2005 07:20:20 +0000 (07:20 +0000)
2005-08-18  Parthasarathi Susarla <sparthasarathi@novell.com>

** see bug #312184

* camel-groupwise-folder.c:
(gw_update_cache): show signatures inline.

camel/providers/groupwise/camel-groupwise-folder.c

index 590835d..bdb241f 100644 (file)
@@ -1393,6 +1393,9 @@ groupwise_folder_item_to_msg( CamelFolder *folder,
                                        if (!strcmp (attach->contentType, "application/pgp-signature")) {
                                                camel_data_wrapper_set_mime_type(CAMEL_DATA_WRAPPER (multipart), "multipart/signed");
                                                camel_content_type_set_param(CAMEL_DATA_WRAPPER (multipart)->mime_type, "protocol", attach->contentType);
+                                       } else if (!strcmp (attach->contentType, "application/pgp-encrypted")) {
+                                               camel_data_wrapper_set_mime_type(CAMEL_DATA_WRAPPER (multipart), "multipart/encrypted");
+                                               camel_content_type_set_param(CAMEL_DATA_WRAPPER (multipart)->mime_type, "protocol", attach->contentType);
                                        } else {
                                                camel_mime_part_set_content_id (part, attach->id);
                                                camel_data_wrapper_set_mime_type(CAMEL_DATA_WRAPPER (multipart), "multipart/digest");