see the ChangeLog, I forget
svn path=/trunk/; revision=14736
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
2001-11-16 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
|
Since some mail clients like Outlook are broken, we need to set a
|
||||||
|
name parameter on pgp signed and encrypted parts.
|
||||||
|
|
||||||
|
* camel-pgp-mime.c (camel_pgp_mime_part_encrypt): Set a name
|
||||||
|
parameter.
|
||||||
|
(camel_pgp_mime_part_sign): Same.
|
||||||
|
|
||||||
2001-11-14 Jeffrey Stedfast <fejj@ximian.com>
|
2001-11-14 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
* providers/imap/camel-imap-command.c
|
* providers/imap/camel-imap-command.c
|
||||||
|
@ -306,7 +306,7 @@ camel_pgp_mime_part_sign (CamelPgpContext *context, CamelMimePart **mime_part, c
|
|||||||
signed_part = camel_mime_part_new ();
|
signed_part = camel_mime_part_new ();
|
||||||
camel_mime_part_set_content (signed_part, CAMEL_STREAM_MEM (sigstream)->buffer->data,
|
camel_mime_part_set_content (signed_part, CAMEL_STREAM_MEM (sigstream)->buffer->data,
|
||||||
CAMEL_STREAM_MEM (sigstream)->buffer->len,
|
CAMEL_STREAM_MEM (sigstream)->buffer->len,
|
||||||
"application/pgp-signature");
|
"application/pgp-signature; name=signature.asc");
|
||||||
camel_object_unref (CAMEL_OBJECT (sigstream));
|
camel_object_unref (CAMEL_OBJECT (sigstream));
|
||||||
|
|
||||||
/* construct the container multipart/signed */
|
/* construct the container multipart/signed */
|
||||||
@ -480,7 +480,7 @@ camel_pgp_mime_part_encrypt (CamelPgpContext *context, CamelMimePart **mime_part
|
|||||||
encrypted_part = camel_mime_part_new ();
|
encrypted_part = camel_mime_part_new ();
|
||||||
camel_mime_part_set_content (encrypted_part, CAMEL_STREAM_MEM (ciphertext)->buffer->data,
|
camel_mime_part_set_content (encrypted_part, CAMEL_STREAM_MEM (ciphertext)->buffer->data,
|
||||||
CAMEL_STREAM_MEM (ciphertext)->buffer->len,
|
CAMEL_STREAM_MEM (ciphertext)->buffer->len,
|
||||||
"application/octet-stream");
|
"application/octet-stream; name=encrypted.asc");
|
||||||
camel_object_unref (CAMEL_OBJECT (ciphertext));
|
camel_object_unref (CAMEL_OBJECT (ciphertext));
|
||||||
camel_mime_part_set_encoding (encrypted_part, CAMEL_MIME_PART_ENCODING_7BIT);
|
camel_mime_part_set_encoding (encrypted_part, CAMEL_MIME_PART_ENCODING_7BIT);
|
||||||
|
|
||||||
|
@ -1204,19 +1204,19 @@ imap_copy_online (CamelFolder *source, GPtrArray *uids,
|
|||||||
{
|
{
|
||||||
CamelImapStore *store = CAMEL_IMAP_STORE (source->parent_store);
|
CamelImapStore *store = CAMEL_IMAP_STORE (source->parent_store);
|
||||||
int count;
|
int count;
|
||||||
|
|
||||||
/* Sync message flags if needed. */
|
/* Sync message flags if needed. */
|
||||||
imap_sync_online (source, ex);
|
imap_sync_online (source, ex);
|
||||||
if (camel_exception_is_set (ex))
|
if (camel_exception_is_set (ex))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
count = camel_folder_summary_count (destination->summary);
|
count = camel_folder_summary_count (destination->summary);
|
||||||
|
|
||||||
/* Now copy the messages */
|
/* Now copy the messages */
|
||||||
do_copy (source, uids, destination, ex);
|
do_copy (source, uids, destination, ex);
|
||||||
if (camel_exception_is_set (ex))
|
if (camel_exception_is_set (ex))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* Make the destination notice its new messages */
|
/* Make the destination notice its new messages */
|
||||||
if (store->current_folder != destination ||
|
if (store->current_folder != destination ||
|
||||||
camel_folder_summary_count (destination->summary) == count)
|
camel_folder_summary_count (destination->summary) == count)
|
||||||
|
Reference in New Issue
Block a user