-
Committer:
Alf Gaida
-
Author(s):
Tsu Jan
-
Date:
2018-01-31 20:41:36 UTC
-
Revision ID:
git-v1:5767a675e9edd361ebea2fbbd858c84f08ec4476
Handle null destination on copying
Fixes https://github.com/lxde/pcmanfm-qt/issues/643
Instead of crashing (on pasting a file into the search folder), show an error message when the copy destination doesn't exist.
Also, `_fm_vfs_search_resolve_relative_path()` should always return NULL because relative paths don't make sense for the search and also because otherwise, a critical error will happen in `g_file_resolve_relative_path()` (G_IS_FILE will return FALSE for its first argument.)