diff options
Diffstat (limited to 'embed/ephy-embed-utils.c')
-rw-r--r-- | embed/ephy-embed-utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c index 7a546a8be..d83f8ee96 100644 --- a/embed/ephy-embed-utils.c +++ b/embed/ephy-embed-utils.c @@ -27,6 +27,7 @@ #include "ephy-about-handler.h" #include "ephy-settings.h" #include "ephy-string.h" +#include "ephy-view-source-handler.h" #include <JavaScriptCore/JavaScript.h> #include <glib/gi18n.h> @@ -331,6 +332,9 @@ ephy_embed_utils_is_no_show_address (const char *address) if (!strcmp (address, do_not_show_address[i])) return TRUE; + if (strstr (address, EPHY_VIEW_SOURCE_SCHEME) == address) + return TRUE; + return FALSE; } |