Actually return if the folder is being moved into one of its descendants.

* e-shell-folder-commands.c
(folder_selection_dialog_folder_selected_callback): Actually
return if the folder is being moved into one of its descendants.

svn path=/trunk/; revision=12395
This commit is contained in:
Ettore Perazzoli
2001-08-22 21:29:31 +00:00
parent b45d088235
commit b6463ef46a
2 changed files with 7 additions and 0 deletions

View File

@ -188,6 +188,7 @@ folder_selection_dialog_folder_selected_callback (EShellFolderSelectionDialog *f
source_len) == 0) {
e_notice (GTK_WINDOW (folder_selection_dialog), GNOME_MESSAGE_BOX_ERROR,
_("Cannot move a folder into one of its descendants."));
return;
}
}