aboutsummaryrefslogtreecommitdiffstats
path: root/art/empty.gif
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-23 02:47:59 +0800
committerDan Winship <danw@src.gnome.org>2001-10-23 02:47:59 +0800
commit9c9f8ebfdf5195ddd34fd4a726bf16941b063957 (patch)
tree9c1440b9c32ac8b402bd4a03d988a1b5648ded7c /art/empty.gif
parent44faa44bffd7fae58fa58e9eebda4b3244d025f8 (diff)
downloadgsoc2013-evolution-9c9f8ebfdf5195ddd34fd4a726bf16941b063957.tar
gsoc2013-evolution-9c9f8ebfdf5195ddd34fd4a726bf16941b063957.tar.gz
gsoc2013-evolution-9c9f8ebfdf5195ddd34fd4a726bf16941b063957.tar.bz2
gsoc2013-evolution-9c9f8ebfdf5195ddd34fd4a726bf16941b063957.tar.lz
gsoc2013-evolution-9c9f8ebfdf5195ddd34fd4a726bf16941b063957.tar.xz
gsoc2013-evolution-9c9f8ebfdf5195ddd34fd4a726bf16941b063957.tar.zst
gsoc2013-evolution-9c9f8ebfdf5195ddd34fd4a726bf16941b063957.zip
PGP verification UI changes to make it not HTML spoofable.
* mail-format.c (handle_application_pgp): Remove this unused hack. (mail_format_mime_message): Initialize a fourth hash table, used to keep track of fake MIME parts. (mail_part_set_default_displayed_inline): New routine to set the default disposition of a part (doesn't change it if the user has already overridden it). (format_mime_part): Wrap a blockquote around the error text (moved here from mail_error_write since it doesn't apply in other cases). (write_hr): Write a <hr> with appropriate padding between MIME parts. (write_one_text_plain_chunk): Write some plain text with appropriate margins. (handle_text_plain): Use write_one_text_plain_chunk. Update for inline specials handler API change. (fake_mime_part_from_data): Use the "fake_parts" hash to avoid recreating the same fake parts again if the message is redisplayed. Lets you toggle the shown/hiddenness of uudecode parts, and do the new pgp verification thing for inline pgp signatures. (try_inline_pgp): Don't do any actual PGP handling here: Just rewrite as a multipart/encrypted. (try_inline_pgp_sig): Likewise, just do a multipart/signed (with the x-inline-pgp-hack parameter set). (try_uudecoding, try_inline_binhex): Update for API changes. (handle_multipart_signed): Exciting and new. Use <object> to create a button which the user must click to do the verification. Change the formatting of the gpg output text a bit. * mail-display.c (on_link_clicked): Remove x-evolution-decode-pgp hack, which is no longer used. (pixbuf_gen_idle): Add a hack for the PGP verification button. (do_attachment_header, do_external_viewer): Split out of on_object_requeested for clarity. (do_signature): New routine to do the PGP verification button. (on_object_requested): Now just dispatches to do_attachment_header, do_external_viewer, or do_signature. (mail_error_write): Don't do <blockquote> here. Fixed the problem that was trying to fix elsewhere. svn path=/trunk/; revision=13888
Diffstat (limited to 'art/empty.gif')
0 files changed, 0 insertions, 0 deletions