summaryrefslogtreecommitdiff
path: root/src/nautilus-program-choosing.h
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2020-05-12 00:41:36 +0100
committerOndrej Holy <oholy@redhat.com>2021-01-25 10:54:11 +0000
commit078603d269e5fb684ed400bb9bb324b16ced9eef (patch)
tree6c41cc3d7948e6665f049a16eb7afdb8bc6a6f3f /src/nautilus-program-choosing.h
parentbe2b5cc3354283e58fdc793b38dab35750b0efbc (diff)
downloadnautilus-078603d269e5fb684ed400bb9bb324b16ced9eef.tar.gz
files-view: Support FUSE paths as script parameters
The scripts in the Scripts menu are passed the (possibly relative) local paths to selected files as command line parameters. The relative paths can only work if the current directory itself has a local path that we can chdir into, and, for backwards compatibility, don't pass URIs. For that reason we pass no parameters if nautilus_file_is_local() returns FALSE for any of them. [1] However, it returns FALSE for files in FUSE mounts, which have perfectly usable local paths. So, use nautilus_file_is_local_or_fuse() instead.
Diffstat (limited to 'src/nautilus-program-choosing.h')
0 files changed, 0 insertions, 0 deletions