From 4df06e7f14ffefedc65bae84fca1cd7f5e945f78 Mon Sep 17 00:00:00 2001 From: Carlos Soriano Date: Tue, 26 Apr 2016 11:31:05 +0200 Subject: mime-actions: check for fuse for default applications We were checking if the file is native, and if not, we request the default applications that they must handle uris. However, we can use FUSE in order to convert those uris to local paths and therefore use a wider variety of applications. This fix some default application not being available in network locations. https://bugzilla.gnome.org/show_bug.cgi?id=764506 --- src/nautilus-mime-actions.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c index c09ca43e6..b53af9153 100644 --- a/src/nautilus-mime-actions.c +++ b/src/nautilus-mime-actions.c @@ -405,7 +405,8 @@ nautilus_mime_get_default_application_for_file (NautilusFile *file) } mime_type = nautilus_file_get_mime_type (file); - app = g_app_info_get_default_for_type (mime_type, !nautilus_file_is_local (file)); + app = g_app_info_get_default_for_type (mime_type, + !nautilus_file_is_local_or_fuse (file)); g_free (mime_type); if (app == NULL) { -- cgit v1.2.1