Skip to content
Snippets Groups Projects
Commit 9b33ae20 authored by Yongha Hwang's avatar Yongha Hwang
Browse files

Check if target directory is a subdirectory of moved folder

Related: Issue #111
MR !139

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
parent 631d8a79
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment