gimp/app/file
Jehan 473f0b49ef app: better handle bogus file names.
When a plug-in enters a bogus file name such as "Untitled.xcd" as URI,
g_file_is_native() returns FALSE. So when saving such file, core code tries to
mount a remote volume and fails (of course), without even opening the file
dialog.

This change is an attempt to detect such cases beforehand and not even try to
save it (just open the file dialog directly; the file name is still useful as
default proposed file name, as this part is actually valid).
Actually remote files will have a valid URI anyway (something with a valid
scheme, such as https:// or whatever other scheme).

As side fix, I am adding a missing space to the error which I got.
2023-02-13 22:57:09 +01:00
..
.gitignore Added .gitignore files generated with git svn create-ignore. 2009-01-31 11:37:44 +00:00
Makefile.am app: move post-loading image import logic to new files file-import.[ch] 2017-02-17 20:59:17 +01:00
file-import.c app, libgimp, plug-ins: move Orientation metadata handling into core. 2020-09-24 12:43:41 +02:00
file-import.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-open.c app: missing space in the string. 2022-03-24 21:49:27 +01:00
file-open.h Remove the second "raw-filename"/"raw-uri" parameter from file procedures 2019-09-11 00:21:03 +02:00
file-remote.c app: don't use the deprecated GTimeVal in file-remote.c 2019-09-14 12:22:04 +02:00
file-remote.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-save.c app: better handle bogus file names. 2023-02-13 22:57:09 +01:00
file-save.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-utils.c core: minor memleak fixes 2021-05-23 20:57:44 +06:00
file-utils.h pdb, app, libgimp, plug-ins: replace most PDB filenames/URIs by GFile 2019-09-11 21:48:34 +02:00
gimp-file.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
meson.build Meson port. 2019-09-11 16:42:04 +02:00