Skip to content

Check if target directory is a subdirectory of moved folder

Yongha Hwang requested to merge MShrimp4/thunar:issue_111 into master

Related: Issue #111 (closed) MR !139 (merged)

It is logically impossible to move a folder into its subdirectory. This patch adds a check before trying to move files.

Added: thunar_g_file_is_descendant () : New function thunar_application_move_into () : Added destination check

Merge request reports