diff options
Diffstat (limited to 'embed/ephy-embed-shell.c')
-rw-r--r-- | embed/ephy-embed-shell.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c index 443eb7a30..0c1d38a1a 100644 --- a/embed/ephy-embed-shell.c +++ b/embed/ephy-embed-shell.c @@ -32,6 +32,7 @@ #include "ephy-encodings.h" #include "ephy-file-helpers.h" #include "ephy-filters-manager.h" +#include "ephy-flatpak-utils.h" #include "ephy-history-service.h" #include "ephy-profile-utils.h" #include "ephy-settings.h" @@ -1567,6 +1568,10 @@ ephy_embed_shell_launch_handler (EphyEmbedShell *shell, g_assert (EPHY_IS_EMBED_SHELL (shell)); g_assert (file || mime_type); + if (ephy_is_running_inside_flatpak ()) { + return ephy_file_launch_file_via_uri_handler (file); + } + app = ephy_file_launcher_get_app_info_for_file (file, mime_type); /* Do not allow recursive calls into the browser, they can lead to |