From b6463ef46a23c91329700454c53afc9a9609b331 Mon Sep 17 00:00:00 2001
From: Ettore Perazzoli <ettore@src.gnome.org>
Date: Wed, 22 Aug 2001 21:29:31 +0000
Subject: 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
---
 shell/e-shell-folder-commands.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'shell/e-shell-folder-commands.c')

diff --git a/shell/e-shell-folder-commands.c b/shell/e-shell-folder-commands.c
index afc775a5ab..e0472c6a73 100644
--- a/shell/e-shell-folder-commands.c
+++ b/shell/e-shell-folder-commands.c
@@ -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;
 		}
 	}
 
-- 
cgit