From b6463ef46a23c91329700454c53afc9a9609b331 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli 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/ChangeLog | 6 ++++++ shell/e-shell-folder-commands.c | 1 + 2 files changed, 7 insertions(+) diff --git a/shell/ChangeLog b/shell/ChangeLog index 71b2101e58..99a746a444 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,9 @@ +2001-08-22 Ettore Perazzoli + + * e-shell-folder-commands.c + (folder_selection_dialog_folder_selected_callback): Actually + return if the folder is being moved into one of its descendants. + 2001-08-22 Ettore Perazzoli * e-shell-folder-title-bar.c (label_realize_callback): `#if 0'ed 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 v1.2.3