Fix Fancy showing a previous email in some cases.
authorColin Leroy <colin@colino.net>
Sat, 3 Jun 2017 19:57:08 +0000 (21:57 +0200)
committerColin Leroy <colin@colino.net>
Sat, 3 Jun 2017 19:57:08 +0000 (21:57 +0200)
commitb320c5095cd51213520d8011ae4969e97c8f7436
treea19bd619643ece1a15b5beb3b1d040e46671e9c8
parentb7157747860b26cbb69295a4cc62a2493bd1d7e2
Fix Fancy showing a previous email in some cases.

The problem seemed to be due to something returning
"application/x-extension-html" instead of "text/html"
as MIME types for some emails, stopping rendering.
Using _load_string instead of _load_uri fixes it.
Also, remove some outdated conditionals now we require
Webkit 1.1.14, and replace some deprecated callbacks
with the more recent ones.
src/plugins/fancy/fancy_viewer.c
src/plugins/fancy/fancy_viewer.h