From c629a60b959e91c7158cce4d1f43ae82877f7add Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 9 Apr 2004 17:07:31 +0000 Subject: Set the excluded bits on the folder-tree. Don't allow the user to xfer 2004-04-09 Jeffrey Stedfast * em-folder-selection.c (em_select_folder): Set the excluded bits on the folder-tree. Don't allow the user to xfer messages into folders which are: NoSelect, Virtual, nor vTrash. Fixes bug #56229. svn path=/trunk/; revision=25384 --- mail/em-folder-selection.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mail/em-folder-selection.c') diff --git a/mail/em-folder-selection.c b/mail/em-folder-selection.c index 42fc474f13..1012514f77 100644 --- a/mail/em-folder-selection.c +++ b/mail/em-folder-selection.c @@ -64,6 +64,7 @@ em_select_folder (GtkWindow *parent_window, const char *title, const char *defau model = mail_component_peek_tree_model (mail_component_peek ()); emft = (EMFolderTree *) em_folder_tree_new_with_model (model); + em_folder_tree_set_excluded (emft, EMFT_EXCLUDE_NOSELECT|EMFT_EXCLUDE_VIRTUAL|EMFT_EXCLUDE_VTRASH); dialog = em_folder_selector_new(emft, EM_FOLDER_SELECTOR_CAN_CREATE, title, NULL); -- cgit v1.2.3