diff options
Diffstat (limited to 'src/window-commands.c')
-rw-r--r-- | src/window-commands.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index c1e1d78c6..0a6c464cf 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -302,8 +302,12 @@ get_suggested_filename (EphyWebView *view) if ((g_ascii_strncasecmp (mimetype, "text/html", 9)) == 0) { - /* Web Title will be used as suggested filename*/ + /* Web Title will be used as suggested filename */ +#ifdef HAVE_WEBKIT2 + suggested_filename = g_strconcat (ephy_web_view_get_title (view), ".mhtml", NULL); +#else suggested_filename = g_strconcat (ephy_web_view_get_title (view), ".html", NULL); +#endif } else { |