diff options
Diffstat (limited to 'embed/mozilla/ContentHandler.cpp')
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index 14a3438ec..0b7f2f653 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -49,6 +49,7 @@ #include "ephy-embed-single.h" #include "ephy-embed-shell.h" #include "ephy-file-chooser.h" +#include "ephy-file-helpers.h" #include "ephy-stock-icons.h" #include "ephy-gui.h" #include "ephy-debug.h" @@ -326,10 +327,10 @@ NS_METHOD GContentHandler::MIMEInitiateAction (void) #ifdef MOZ_NSIMIMEINFO_NSACSTRING_ mHelperApp = gnome_vfs_mime_get_default_application (mMimeType.get()); - mPermission = ephy_embed_shell_check_mime (embed_shell, mMimeType.get()); + mPermission = ephy_file_check_mime (mMimeType.get()); #else mHelperApp = gnome_vfs_mime_get_default_application (mMimeType); - mPermission = ephy_embed_shell_check_mime (embed_shell, mMimeType); + mPermission = ephy_file_check_mime (mMimeType); #endif if (auto_downloads) |