aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2012-08-16 16:46:42 +0800
committerCarlos Garcia Campos <carlosgc@gnome.org>2012-08-17 19:58:51 +0800
commitcf9c1a366b1424ee55e621302c5cba02803832a8 (patch)
treeb9ea2e48243f6e18728e43501f1027f24b522f5e /lib
parent12b8cab14f3cb4c09e5ee8afb9b438113b5bd72e (diff)
downloadgsoc2013-epiphany-cf9c1a366b1424ee55e621302c5cba02803832a8.tar
gsoc2013-epiphany-cf9c1a366b1424ee55e621302c5cba02803832a8.tar.gz
gsoc2013-epiphany-cf9c1a366b1424ee55e621302c5cba02803832a8.tar.bz2
gsoc2013-epiphany-cf9c1a366b1424ee55e621302c5cba02803832a8.tar.lz
gsoc2013-epiphany-cf9c1a366b1424ee55e621302c5cba02803832a8.tar.xz
gsoc2013-epiphany-cf9c1a366b1424ee55e621302c5cba02803832a8.tar.zst
gsoc2013-epiphany-cf9c1a366b1424ee55e621302c5cba02803832a8.zip
Port save as to WebKit2
Use webkit_web_view_save() API for HTML pages that saves the web page into a MHTML file. For any other MIME types supported by the web view, save the main resource data to a file. https://bugzilla.gnome.org/show_bug.cgi?id=679368
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-file-chooser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ephy-file-chooser.c b/lib/ephy-file-chooser.c
index a5702460e..2e228103d 100644
--- a/lib/ephy-file-chooser.c
+++ b/lib/ephy-file-chooser.c
@@ -211,6 +211,7 @@ ephy_file_chooser_new (const char *title,
"text/html",
"application/xhtml+xml",
"text/xml",
+ "message/rfc822", /* MHTML */
"image/png",
"image/jpeg",
"image/gif",
@@ -222,6 +223,7 @@ ephy_file_chooser_new (const char *title,
"text/html",
"application/xhtml+xml",
"text/xml",
+ "message/rfc822", /* MHTML */
NULL);
filter[EPHY_FILE_FILTER_IMAGES] =